mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +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
|
|
@ -17,8 +17,8 @@ export async function POST(request: Request) {
|
|||
return unauthorized();
|
||||
}
|
||||
|
||||
const parameters = await setWebsiteDate(websiteId, body.parameters);
|
||||
const filters = await getQueryFilters(body.filters, websiteId);
|
||||
const parameters = await setWebsiteDate(websiteId, auth.user.id, body.parameters);
|
||||
const filters = await getQueryFilters(body.filters, websiteId, auth.user.id);
|
||||
|
||||
const data = await getAttribution(websiteId, parameters as AttributionParameters, filters);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue