all userId replace to childId
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user