This commit is contained in:
choelzl 2022-02-09 21:54:11 +01:00
parent f56134b969
commit 31d9b1b7cb
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -9,7 +9,7 @@
var request = HttpRequest.getData(HttpRequest.RequestType.GET,'https://www.geoguessr.com/api/v3/games/'+id,json.toString(),header); var request = HttpRequest.getData(HttpRequest.RequestType.GET,'https://www.geoguessr.com/api/v3/games/'+id,json.toString(),header);
if (request.success) { if (request.success) {
var data = new JSONObject(request.content) var data = new JSONObject(request.content)
return data; return JSON.parse(data);
} }
}; };
function getCountryBDC(location) { function getCountryBDC(location) {