From ebe74037136abe18946f8e11cb45e3c798aa65a1 Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 16 Nov 2022 00:22:51 +0600 Subject: [PATCH] fixed invalid variable declaration, again --- src/modules/services/twitter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/services/twitter.js b/src/modules/services/twitter.js index 23b0270..73c5898 100644 --- a/src/modules/services/twitter.js +++ b/src/modules/services/twitter.js @@ -33,7 +33,7 @@ export default async function(obj) { req_act = JSON.parse(req_act.body) _headers["x-guest-token"] = req_act["guest_token"]; req_status = await got.get(showURL, { headers: _headers }); - } catch(e) {} + } catch(err) {} } req_status = JSON.parse(req_status.body); if (req_status == {}) return { error: loc(obj.lang, 'ErrorCouldntFetch') }