08-23-2022 06:09 AM
Hi,
Your scoreJson must be an object, not an array.
Like:
var scoreJson = {};
And instead of .push(), you should use:
scoreJson.score = score;
Please mark my response as correct if this solved your issue.
Regards,
Ionut
0
Helpfuls