From d06fcb7ae21cd8bcf555060ded8237b567a93957 Mon Sep 17 00:00:00 2001 From: choelzl Date: Wed, 9 Feb 2022 03:17:32 +0100 Subject: [PATCH] WIP --- twitch/chatguessr.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";