From 47e90eed3af356dd0e21b98b06ee02bca1221631 Mon Sep 17 00:00:00 2001 From: Suvodip Date: Tue, 11 Mar 2025 15:37:02 +0530 Subject: [PATCH] s11 --- public/saveGameAI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/saveGameAI.js b/public/saveGameAI.js index 00cf40e..e615662 100644 --- a/public/saveGameAI.js +++ b/public/saveGameAI.js @@ -11,7 +11,7 @@ const worksheetId = urlParams.get('worksheetId'); let submitNotic; let startTime = Date.now(); - + // console.log('gameVersion', gameVersion) const url = window.location.href; const gameName = url.split('/'); @@ -267,7 +267,7 @@ function submitUserData(drawingZone) { // ✅ Now create `userData` inside the correct scope where starValue exists let userData = { - gameName: gameVersion, + gameName: gameVersion.trim(), gameID: gameId, screenShot: imageCode, childId: childId,