From c6bd5ec4614acb7a5497a99e44b92491e384ea5c Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Fri, 20 Dec 2024 14:24:46 +0100 Subject: [PATCH] Add return type. --- apps/server/src/shared/repo/user/user-do.repo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/shared/repo/user/user-do.repo.ts b/apps/server/src/shared/repo/user/user-do.repo.ts index c06c9c5b96..54a4e3a4e0 100644 --- a/apps/server/src/shared/repo/user/user-do.repo.ts +++ b/apps/server/src/shared/repo/user/user-do.repo.ts @@ -19,7 +19,7 @@ export class UserDORepo extends BaseDORepo { return User; } - public async find(query: UserQuery, options?: IFindOptions) { + public async find(query: UserQuery, options?: IFindOptions): Promise> { const pagination: Pagination = options?.pagination || {}; const order: QueryOrderMap = this.createQueryOrderMap(options?.order || {}); const scope: Scope = new UserScope()