From e7aa32cec11e658357b86b98650b4a132146feec Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 24 Aug 2021 02:10:08 +0100 Subject: [PATCH] typo --- backend/api/controllers/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/controllers/user.js b/backend/api/controllers/user.js index 286a47b07..17b64dec4 100644 --- a/backend/api/controllers/user.js +++ b/backend/api/controllers/user.js @@ -122,7 +122,7 @@ class UserController { } catch (e) { requser = null; } - if (user?.banned === true) { + if (requser?.banned === true) { throw new MonkeyError(403, "Banned accounts cannot link with Discord"); }