diff --git a/packages/lib/attribute/service.ts b/packages/lib/attribute/service.ts index a5c21653ef..7a9e7e9d2a 100644 --- a/packages/lib/attribute/service.ts +++ b/packages/lib/attribute/service.ts @@ -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 }); }) ); }