From f66eb64998a67c288da1d7683346b435200f80c0 Mon Sep 17 00:00:00 2001 From: choelzl Date: Wed, 9 Feb 2022 03:12:49 +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 830229b..ea8ceb9 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -2,7 +2,7 @@ - async function fetchSeed(id) { + function fetchSeed(id) { var HttpRequest = Packages.com.gmt2001.HttpRequest, JSONObject = Packages.org.json.JSONObject; let request = HttpRequest.getData(HttpRequest.RequestType.GET,`https://www.geoguessr.com/api/v3/games/${id}`,{},{}); @@ -11,7 +11,7 @@ return data; } }; - async function getCountryBDC(location) { + function getCountryBDC(location) { var HttpRequest = Packages.com.gmt2001.HttpRequest, JSONObject = Packages.org.json.JSONObject; const BDC_KEY = "067c718d2bbd4a2ba8d0645e1633cac2";