mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
temporairly disabled nospace
This commit is contained in:
parent
d81cf745a5
commit
dcfe30195c
1 changed files with 5 additions and 0 deletions
|
@ -941,6 +941,11 @@ exports.testCompleted = functions.https.onRequest(async (request, response) => {
|
|||
return user.emailVerified;
|
||||
});
|
||||
|
||||
if (obj.funbox === "nospace") {
|
||||
response.status(200).send({ data: { resultCode: -1 } });
|
||||
return;
|
||||
}
|
||||
|
||||
return db
|
||||
.collection("users")
|
||||
.doc(request.uid)
|
||||
|
|
Loading…
Reference in a new issue