From dcfe30195c103cbcc90da76eeb676a2d1adb1a57 Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 3 Dec 2020 17:59:30 +0000 Subject: [PATCH] temporairly disabled nospace --- functions/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions/index.js b/functions/index.js index 602dc9695..f327c48d2 100644 --- a/functions/index.js +++ b/functions/index.js @@ -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)