mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
refactor 6 month retention. use auth instead of cache:website
This commit is contained in:
parent
37b6194c5f
commit
741c6039e6
29 changed files with 43 additions and 48 deletions
|
|
@ -28,7 +28,7 @@ export async function GET(
|
|||
return unauthorized();
|
||||
}
|
||||
|
||||
const filters = await getQueryFilters(query, websiteId);
|
||||
const filters = await getQueryFilters(query, websiteId, auth.user.id);
|
||||
|
||||
const [events, pages, referrers, browsers, os, devices, countries] = await Promise.all([
|
||||
getEventMetrics(websiteId, { type: 'event' }, filters),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue