s11 #46
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue