mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 01:15:49 +08:00
removed key data from log
This commit is contained in:
parent
f1aa40766f
commit
4c44ccec4a
1 changed files with 8 additions and 2 deletions
|
@ -650,10 +650,13 @@ exports.testCompleted = functions.https.onCall(async (request, response) => {
|
|||
};
|
||||
|
||||
if (ispb) {
|
||||
let logobj = request.obj;
|
||||
logobj.keySpacing = "removed";
|
||||
logobj.keyDuration = "removed";
|
||||
console.log(
|
||||
`saved result for ${
|
||||
request.uid
|
||||
} (new PB) - ${JSON.stringify(request.obj)}`
|
||||
} (new PB) - ${JSON.stringify(lobobj)}`
|
||||
);
|
||||
if (
|
||||
obj.mode === "time" &&
|
||||
|
@ -673,9 +676,12 @@ exports.testCompleted = functions.https.onCall(async (request, response) => {
|
|||
}
|
||||
returnobj.resultCode = 2;
|
||||
} else {
|
||||
let logobj = request.obj;
|
||||
logobj.keySpacing = "removed";
|
||||
logobj.keyDuration = "removed";
|
||||
console.log(
|
||||
`saved result for ${request.uid} - ${JSON.stringify(
|
||||
request.obj
|
||||
logobj
|
||||
)}`
|
||||
);
|
||||
returnobj.resultCode = 1;
|
||||
|
|
Loading…
Reference in a new issue