From 31d9b1b7cb931bf855cb459ab80ac7b8667b997b Mon Sep 17 00:00:00 2001 From: choelzl Date: Wed, 9 Feb 2022 21:54:11 +0100 Subject: [PATCH] WIP --- twitch/chatguessr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitch/chatguessr.js b/twitch/chatguessr.js index e62b1f2..e100eb3 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -9,7 +9,7 @@ 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 data; + return JSON.parse(data); } }; function getCountryBDC(location) {