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

@ -37,7 +37,7 @@ export async function GET(
}
const { type, limit, offset, search } = query;
const filters = await getQueryFilters(query, websiteId, auth.user?.id);
const filters = await getQueryFilters(query, websiteId);
if (search) {
filters[type] = `c.${search}`;