refactor 6 month retention. use auth instead of cache:website

This commit is contained in:
Francis Cao 2025-12-18 10:35:52 -08:00
parent 37b6194c5f
commit 741c6039e6
29 changed files with 43 additions and 48 deletions

View file

@ -42,7 +42,7 @@ export async function GET(
value: segment.name,
}));
} else {
const filters = await getQueryFilters(query, websiteId);
const filters = await getQueryFilters(query, websiteId, auth.user.id);
values = await getValues(websiteId, FILTER_COLUMNS[type], filters);
}