mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
Split out session query.
This commit is contained in:
parent
7b9c29e039
commit
4497951000
9 changed files with 139 additions and 56 deletions
|
|
@ -68,7 +68,7 @@ export default async (
|
|||
|
||||
filters[type] = undefined;
|
||||
|
||||
let data = await getSessionMetrics(websiteId, {
|
||||
const data = await getSessionMetrics(websiteId, {
|
||||
startDate,
|
||||
endDate,
|
||||
column,
|
||||
|
|
@ -88,7 +88,7 @@ export default async (
|
|||
}
|
||||
}
|
||||
|
||||
data = Object.values(combined);
|
||||
return ok(res, Object.values(combined));
|
||||
}
|
||||
|
||||
return ok(res, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue