mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-18 03:26:07 +08:00
checking lb only on pb
This commit is contained in:
parent
c71c1106de
commit
f87609acd3
1 changed files with 1 additions and 2 deletions
|
@ -1815,10 +1815,9 @@ export async function finish(difficultyFailed = false) {
|
|||
);
|
||||
} else {
|
||||
completedEvent._id = response.data.insertedId;
|
||||
// TODO bring back after leaderboard fixed
|
||||
// TestLeaderboards.check(completedEvent);
|
||||
if (response.data.isPb) {
|
||||
completedEvent.isPb = true;
|
||||
TestLeaderboards.check(completedEvent);
|
||||
}
|
||||
if (
|
||||
DB.getSnapshot() !== null &&
|
||||
|
|
Loading…
Add table
Reference in a new issue