mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
chore: another missing type
This commit is contained in:
parent
f191d76737
commit
acc39fe38d
@ -37,7 +37,7 @@ export default class TagService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async validate(tag): Promise<ITag> {
|
async validate(tag: ITag): Promise<ITag> {
|
||||||
const data = (await tagSchema.validateAsync(tag)) as ITag;
|
const data = (await tagSchema.validateAsync(tag)) as ITag;
|
||||||
await this.validateUnique(tag);
|
await this.validateUnique(tag);
|
||||||
return data;
|
return data;
|
||||||
|
Loading…
Reference in New Issue
Block a user