mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
update websitesession, add session duration
This commit is contained in:
parent
3646039e54
commit
136dd6794e
6 changed files with 25 additions and 8 deletions
|
|
@ -40,8 +40,8 @@ export default async (
|
|||
const data = await getSessionActivity(
|
||||
websiteId,
|
||||
sessionId,
|
||||
new Date(startDate),
|
||||
new Date(endDate),
|
||||
new Date(startDate + 'Z'),
|
||||
new Date(endDate + 'Z'),
|
||||
);
|
||||
|
||||
return ok(res, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue