mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Fixed properties queries.
This commit is contained in:
parent
465a03f987
commit
5e6799a715
38 changed files with 139 additions and 499 deletions
|
|
@ -21,12 +21,14 @@ export async function GET(
|
|||
return unauthorized();
|
||||
}
|
||||
|
||||
const filters = await getQueryFilters({
|
||||
...query,
|
||||
const filters = await getQueryFilters(
|
||||
{
|
||||
...query,
|
||||
startAt: subMinutes(startOfMinute(new Date()), REALTIME_RANGE).getTime(),
|
||||
endAt: Date.now(),
|
||||
},
|
||||
websiteId,
|
||||
startAt: subMinutes(startOfMinute(new Date()), REALTIME_RANGE).getTime(),
|
||||
endAt: Date.now(),
|
||||
});
|
||||
);
|
||||
|
||||
const data = await getRealtimeData(websiteId, filters);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue