diff --git a/backend/api/controllers/result.js b/backend/api/controllers/result.js index 8305cc158..fdd64482b 100644 --- a/backend/api/controllers/result.js +++ b/backend/api/controllers/result.js @@ -195,6 +195,10 @@ class ResultController { const isPb = await UserDAO.checkIfPb(uid, result); const tagPbs = await UserDAO.checkIfTagPb(uid, result); + if (isPb) { + result.isPb = true; + } + if (result.mode === "time" && String(result.mode2) === "60") { UserDAO.incrementBananas(uid, result.wpm); if (isPb && user.discordId) {