diff --git a/functions/index.js b/functions/index.js index c1933eb72..697618c54 100644 --- a/functions/index.js +++ b/functions/index.js @@ -382,7 +382,7 @@ exports.testCompleted = functions.https.onCall((request, response) => { besttime60 = 0; } - if (obj.wpm > besttime60) { + if (obj.wpm >= besttime60) { console.log( `sending command to the bot to update the role for user ${request.uid} with wpm ${obj.wpm}` );