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') }