Fixed insights report.

This commit is contained in:
Mike Cao 2023-12-01 16:02:50 -08:00
parent d0e1912faf
commit e068ac0dd9
6 changed files with 16 additions and 15 deletions

View file

@ -55,7 +55,7 @@ const schema = {
}),
};
function convertFilters(filters) {
function convertFilters(filters: any[]) {
return filters.reduce((obj, { name, ...value }) => {
obj[name] = value;