fixing dashboard widgets with built-in queries containing aggregations.

This commit is contained in:
Jason Kulatunga 2023-10-02 14:37:57 -07:00
parent 623c9ab663
commit f3b1c7e283
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ describe('DashboardWidgetComponent', () => {
"where": {},
"aggregations":{
"count_by": "source_resource_type"
"count_by": {"field": "source_resource_type"}
},
}
},
@ -138,7 +138,7 @@ describe('DashboardWidgetComponent', () => {
"where": {},
"aggregations":{
"count_by": "source_resource_type"
"count_by": {"field": "source_resource_type"}
},
}
}],