diff --git a/functions/index.js b/functions/index.js index 67b8cbff0..aab8ca2e7 100644 --- a/functions/index.js +++ b/functions/index.js @@ -525,7 +525,6 @@ 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)); - return; } returnobj.resultCode = 2; } else { @@ -536,9 +535,6 @@ exports.testCompleted = functions.https.onCall((request, response) => { ); returnobj.resultCode = 1; } - console.error( - `user ${request.uid} + ${JSON.stringify(returnobj)}` - ); return returnobj; }) .catch((e) => {