diff --git a/twitch/chatguessr.js b/twitch/chatguessr.js index 43bf080..c2d2e52 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -5,7 +5,7 @@ function fetchSeed(id) { var HttpRequest = Packages.com.gmt2001.HttpRequest, HashMap = Packages.java.util.HashMap, - JSONObject = Packages.org.json.JSONObject + JSONObject = Packages.org.json.JSONObject, header = new HashMap(0), json = new JSONObject('{}'); let request = HttpRequest.getData(HttpRequest.RequestType.GET,`https://www.geoguessr.com/api/v3/games/${id}`,json.toString(),header); @@ -17,7 +17,7 @@ function getCountryBDC(location) { var HttpRequest = Packages.com.gmt2001.HttpRequest, HashMap = Packages.java.util.HashMap, - JSONObject = Packages.org.json.JSONObject + JSONObject = Packages.org.json.JSONObject, header = new HashMap(0), json = new JSONObject('{}'); const BDC_KEY = "067c718d2bbd4a2ba8d0645e1633cac2";