mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
removed key stats from the obj that is added to the db
This commit is contained in:
parent
aab071896a
commit
2c90d9c282
1 changed files with 4 additions and 2 deletions
|
@ -423,6 +423,9 @@ exports.testCompleted = functions.https.onCall((request, response) => {
|
|||
);
|
||||
}
|
||||
|
||||
obj.keySpacing = "removed";
|
||||
obj.keyDuration = "removed";
|
||||
|
||||
return db
|
||||
.collection("users")
|
||||
.doc(request.uid)
|
||||
|
@ -508,8 +511,7 @@ exports.testCompleted = functions.https.onCall((request, response) => {
|
|||
lbBanned: banned,
|
||||
name: name,
|
||||
};
|
||||
request.obj.keySpacing = "removed";
|
||||
request.obj.keyDuration = "removed";
|
||||
|
||||
if (ispb) {
|
||||
console.log(
|
||||
`saved result for ${
|
||||
|
|
Loading…
Reference in a new issue