From 77401ebd2a81f2c83b1d8619092078ed9781553a Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 9 Jul 2020 11:27:16 +0100 Subject: [PATCH] added a log --- functions/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/index.js b/functions/index.js index 1e42c66e9..ef0bba8e8 100644 --- a/functions/index.js +++ b/functions/index.js @@ -396,6 +396,10 @@ exports.testCompleted = functions.https.onCall((request, response) => { `sending command to the bot to update the role for user ${request.uid} with wpm ${obj.wpm}` ); updateDiscordRole(userdata.discordId, Math.round(obj.wpm)); + } else { + console.log( + `not updating role for user ${request.uid} higher pb found ${besttime60} than ${obj.wpm}` + ); } return; }