Update 'twitch/chatguessr.js'
This commit is contained in:
parent
f56823bc23
commit
d2a079fcde
@ -8,10 +8,12 @@
|
||||
json = new JSONObject('{}');
|
||||
var request = HttpRequest.getData(HttpRequest.RequestType.GET,'https://www.geoguessr.com/api/v3/games/'+id,json.toString(),header);
|
||||
if (request.success) {
|
||||
var data = new JSONObject(request.content)
|
||||
return JSON.parse(data);
|
||||
var data = new JSONObject(request.content)
|
||||
return JSON.parse(data);
|
||||
}
|
||||
return {};
|
||||
};
|
||||
|
||||
function getCountryBDC(location) {
|
||||
var HttpRequest = Packages.com.gmt2001.HttpRequest,
|
||||
HashMap = Packages.java.util.HashMap,
|
||||
|
Loading…
x
Reference in New Issue
Block a user