From 77103d7f209457aed2deba3d8afc8bb1ab3ae399 Mon Sep 17 00:00:00 2001 From: Andrea Date: Mon, 17 Jan 2022 16:51:50 +0100 Subject: [PATCH] [user] remove banSnapshot --- server/routes/user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/routes/user.js b/server/routes/user.js index b6e01a8a..a6a70ca0 100644 --- a/server/routes/user.js +++ b/server/routes/user.js @@ -155,6 +155,7 @@ export const issueAuthentication = async (db, user, fetch = true, guardMfa = fal user.avatar = await avatar(db, user); delete user.suspiciousChecked; delete user.bannedBy; + delete user.banSnapshot; if (extend) { user = {