1
0
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:
Christopher Kolstad 2021-03-26 12:35:14 +01:00
parent f191d76737
commit acc39fe38d

View File

@ -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;