mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-31 20:49:18 +08:00
stripping data after checking for pb
This commit is contained in:
parent
b5afaa0b34
commit
3e6bfdc82a
1 changed files with 2 additions and 2 deletions
|
|
@ -1462,14 +1462,14 @@ exports.testCompleted = functions.https.onRequest(async (request, response) => {
|
|||
),
|
||||
checkIfPB(request.uid, request.obj, userdata),
|
||||
checkIfTagPB(request.uid, request.obj),
|
||||
stripAndSave(request.uid, request.obj),
|
||||
])
|
||||
.then(async (values) => {
|
||||
let globallb = values[0].insertedAt;
|
||||
let dailylb = values[1].insertedAt;
|
||||
let ispb = values[2];
|
||||
let tagPbs = values[3];
|
||||
let createdDocId = values[4].id;
|
||||
let createdDocId = stripAndSave(request.uid, request.obj);
|
||||
createdDocId = createdDocId.id;
|
||||
// console.log(values);
|
||||
|
||||
if (obj.mode === "time" && String(obj.mode2) === "60") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue