mirror of
https://github.com/hexastack/hexabot
synced 2025-01-22 18:45:57 +00:00
Update api/src/utils/generics/base-repository.ts
This commit is contained in:
parent
27fd5debea
commit
b14def8d79
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user