From acc39fe38dd81de660b53cbe6bd2a1952daf1262 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Fri, 26 Mar 2021 12:35:14 +0100 Subject: [PATCH] chore: another missing type --- src/lib/services/tag-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/services/tag-service.ts b/src/lib/services/tag-service.ts index 254f1772ed..e2f3d350da 100644 --- a/src/lib/services/tag-service.ts +++ b/src/lib/services/tag-service.ts @@ -37,7 +37,7 @@ export default class TagService { } } - async validate(tag): Promise { + async validate(tag: ITag): Promise { const data = (await tagSchema.validateAsync(tag)) as ITag; await this.validateUnique(tag); return data;