mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
typo
This commit is contained in:
parent
df7e03b0df
commit
e7aa32cec1
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue