fix: missing places for revalidations (#21632)
This commit is contained in:
1 parent
af0e839f27
commit
b91607b5b4
3 files changed
+7
-3
No files matched your search
@@ -20,8 +20,8 @@ const getCachedAttributes = unstable_cache(
|
||||
async (orgId: number) => {
|
||||
return await AttributeRepository.findAllByOrgIdWithOptions({ orgId });
|
||||
},
|
||||
["viewer.attributes.list"],
|
||||
{ revalidate: 3600 } // Cache for 1 hour
|
||||
undefined,
|
||||
{ revalidate: 3600, tags: ["viewer.attributes.list"] } // Cache for 1 hour
|
||||
);
|
||||
|
||||
const Page = async () => {
|
||||
|
||||
Reference in new issue
Block a user