mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
resetDate should be a Date object.
This commit is contained in:
parent
98028f1756
commit
e63591e35d
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ async function relationalQuery(
|
|||
const { startDate, endDate, filters = {} } = criteria;
|
||||
const { toUuid, getDateQuery, getTimestampInterval, parseFilters, rawQuery } = prisma;
|
||||
const website = await loadWebsite(websiteId);
|
||||
const resetDate = website?.resetAt || website?.createdAt;
|
||||
const resetDate = new Date(website?.resetAt || website?.createdAt);
|
||||
const params: any = [websiteId, resetDate, startDate, endDate];
|
||||
const { filterQuery, joinSession } = parseFilters(filters, params);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue