all userId replace to childId

This commit is contained in:
Suvodip
2025-02-04 16:08:11 +05:30
parent 1075b9a85a
commit cbe6255540
15 changed files with 57 additions and 59 deletions

View File

@@ -4,12 +4,12 @@ function retryGame(){
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const userId = urlParams.get('childId');
const childId = urlParams.get('childId');
const gameVersion = urlParams.get('gameName');
const gameId = urlParams.get('id');
let submitNotic;
console.log(userId);
// console.log(childId);
let startTime = Date.now();
@@ -94,7 +94,7 @@ function submitUserData(drawingZone) {
'gameName': gameVersion,
'gameID': gameId,
'screenShot': imageCode,
'userId' : userId,
'childId' : childId,
'gameTime' : timeDifferenceInSeconds,
'score' : scoreTotal,
'gameStar' : starValue