mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-17 22:29:52 +08:00
fixed a bug where users that are not logged in would be punished, and the test would break. sorry
This commit is contained in:
parent
c2bde75103
commit
269e1857c8
1 changed files with 1 additions and 1 deletions
|
|
@ -1008,7 +1008,7 @@ function showResult(difficultyFailed = false) {
|
|||
blindMode: config.blindMode,
|
||||
theme: config.theme,
|
||||
tags: activeTags,
|
||||
discordId: dbSnapshot.discordId,
|
||||
discordId: dbSnapshot !== null ? dbSnapshot.discordId : null,
|
||||
};
|
||||
if (
|
||||
config.difficulty == "normal" ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue