mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
showing full stats for time 15 and 60
This commit is contained in:
parent
bdde779cd4
commit
1d579a2ed7
1 changed files with 7 additions and 4 deletions
|
@ -423,11 +423,14 @@ exports.testCompleted = functions.https.onCall((request, response) => {
|
|||
);
|
||||
}
|
||||
|
||||
obj.keySpacing = "removed";
|
||||
obj.keyDuration = "removed";
|
||||
obj.keySpacingStats = keySpacing;
|
||||
obj.keyDurationStats = keyDuration;
|
||||
|
||||
obj.keySpacing = keySpacing;
|
||||
obj.keyDuration = keyDuration;
|
||||
if (obj.mode == "time" && (obj.mode2 == 15 || obj.mode2 == 60)) {
|
||||
} else {
|
||||
obj.keySpacing = "removed";
|
||||
obj.keyDuration = "removed";
|
||||
}
|
||||
|
||||
return db
|
||||
.collection("users")
|
||||
|
|
Loading…
Reference in a new issue