Fix missing knex passthrough

This commit is contained in:
rijkvanzanten
2021-06-16 17:46:49 -04:00
parent ea79d692e4
commit 7ea10b2e21
2 changed files with 3 additions and 3 deletions

View File

@@ -492,7 +492,7 @@ export async function applySearch(
});
}
export function applyAggregate(dbQuery: Knex.QueryBuilder, aggregate: Aggregate) {
export function applyAggregate(dbQuery: Knex.QueryBuilder, aggregate: Aggregate): void {
for (const [operation, fields] of Object.entries(aggregate)) {
if (!fields) continue;