From 470b5b5349e88ef7d94c2380bf3f14c36ba7ecb0 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 6 Mar 2024 17:02:37 +0000 Subject: [PATCH] Remove incorrect cache invalidation. --- packages/server/src/api/controllers/user.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/server/src/api/controllers/user.ts b/packages/server/src/api/controllers/user.ts index d1658f9820..7fc5c6e1bc 100644 --- a/packages/server/src/api/controllers/user.ts +++ b/packages/server/src/api/controllers/user.ts @@ -42,7 +42,6 @@ export async function updateMetadata( // this isn't applicable to the user delete metadata.roles ctx.body = await db.put(metadata) - await cache.user.invalidateUser(user._id!) } export async function destroyMetadata(ctx: UserCtx) {