Update api/src/utils/generics/base-repository.ts

This commit is contained in:
Med Marrouchi 2024-12-30 14:05:08 +01:00 committed by GitHub
parent 27fd5debea
commit b14def8d79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -348,7 +348,7 @@ export abstract class BaseRepository<
}
const query = this.findQuery(filter, pageQuery, projection);
return this.execute(query, this.cls);
return await this.execute(query, this.cls);
}
private ensureCanPopulate(): void {