From 38b0b0d3a9f9ca3ea4994edac5c66915b76fe92e Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Mon, 4 Apr 2022 13:28:33 -0500 Subject: [PATCH] Update score that is displayed to the user --- src/helpers/db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/db.ts b/src/helpers/db.ts index d7ff2fa..e74d282 100644 --- a/src/helpers/db.ts +++ b/src/helpers/db.ts @@ -31,7 +31,7 @@ export async function updateScore(isCorrect : boolean, score : number, authorId doc.save(); } - return `Great job! Your score is now ${score}.`; + return `Great job! Your score is now ${score + 4}.`; } }