mirror of
https://github.com/directus/directus.git
synced 2026-01-23 07:28:03 -05:00
Fix aggregation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user