mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
Update api/src/utils/generics/base-repository.ts
This commit is contained in:
parent
b14def8d79
commit
151c1d22d2
@ -428,7 +428,7 @@ export abstract class BaseRepository<
|
|||||||
pageQuery: PageQueryDto<T>,
|
pageQuery: PageQueryDto<T>,
|
||||||
): Promise<T[]> {
|
): Promise<T[]> {
|
||||||
const query = this.findPageQuery(filters, pageQuery);
|
const query = this.findPageQuery(filters, pageQuery);
|
||||||
return this.execute(query, this.cls);
|
return await this.execute(query, this.cls);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user