Fix aggregation

This commit is contained in:
rijkvanzanten
2021-09-29 11:46:55 -04:00
parent 15859e5316
commit 42f72acb60

View File

@@ -98,7 +98,7 @@ function sanitizeSort(rawSort: any) {
}
function sanitizeAggregate(rawAggregate: any): Aggregate {
let aggregate: Aggregate = {};
let aggregate: Aggregate = rawAggregate;
if (typeof rawAggregate === 'string') {
try {