Merge branch 'dev' of https://github.com/umami-software/umami into feat/um-376-retention-report

This commit is contained in:
Francis Cao
2023-08-08 12:04:00 -07:00
14 changed files with 130 additions and 72 deletions

View File

@@ -27,7 +27,7 @@ export default async (
const {
websiteId,
dateRange: { startDate, endDate },
groups,
fields,
filters,
} = req.body;
@@ -35,7 +35,7 @@ export default async (
return unauthorized(res);
}
const data = await getInsights(websiteId, groups, {
const data = await getInsights(websiteId, fields, {
...filters,
startDate: new Date(startDate),
endDate: new Date(endDate),