fix: attributeClass cache revalidation

This commit is contained in:
Matthias Nannt
2024-04-25 20:51:35 +02:00
parent 6392a54592
commit 7c8754fd6b

View File

@@ -216,8 +216,8 @@ export const updateAttributes = async (personId: string, attributes: TAttributes
},
})
.then(({ id }) => {
attributeClassCache.revalidate({ environmentId, name });
attributeCache.revalidate({ id, environmentId, personId, userId, name });
attributeClassCache.revalidate({ id, environmentId, name });
attributeCache.revalidate({ environmentId, personId, userId, name });
})
);
}