Remove incorrect cache invalidation.

This commit is contained in:
Sam Rose 2024-03-06 17:02:37 +00:00
parent b7e5d9f71a
commit 470b5b5349
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -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<void, { message: string }>) {