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) {