Revert "refactor 6 month retention. use auth instead of cache:website". Fix share page retention bug.

This reverts commit 741c6039e6.
This commit is contained in:
Francis Cao 2026-01-14 10:28:48 -08:00
parent 6d480d9c36
commit b6013c3ee8
27 changed files with 36 additions and 37 deletions

View file

@ -18,8 +18,8 @@ export async function POST(request: Request) {
return unauthorized();
}
const filters = await getQueryFilters(body.filters, websiteId, auth.user?.id);
const parameters = await setWebsiteDate(websiteId, auth.user.id, body.parameters);
const filters = await getQueryFilters(body.filters, websiteId);
const parameters = await setWebsiteDate(websiteId, body.parameters);
const data = {
utm_source: [],