mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-23 05:56:10 +08:00
typo to fix leaderboards not updating
This commit is contained in:
parent
e67356ba06
commit
46b467eaa4
1 changed files with 1 additions and 1 deletions
|
@ -1817,7 +1817,7 @@ export async function finish(difficultyFailed = false) {
|
|||
completedEvent._id = response.data.insertedId;
|
||||
if (
|
||||
response.data.isPb &&
|
||||
["enligsh"].includes(completedEvent.language)
|
||||
["english"].includes(completedEvent.language)
|
||||
) {
|
||||
completedEvent.isPb = true;
|
||||
TestLeaderboards.check(completedEvent);
|
||||
|
|
Loading…
Add table
Reference in a new issue