fixed invalid variable declaration, again
This commit is contained in:
parent
271167f421
commit
ebe7403713
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export default async function(obj) {
|
||||||
req_act = JSON.parse(req_act.body)
|
req_act = JSON.parse(req_act.body)
|
||||||
_headers["x-guest-token"] = req_act["guest_token"];
|
_headers["x-guest-token"] = req_act["guest_token"];
|
||||||
req_status = await got.get(showURL, { headers: _headers });
|
req_status = await got.get(showURL, { headers: _headers });
|
||||||
} catch(e) {}
|
} catch(err) {}
|
||||||
}
|
}
|
||||||
req_status = JSON.parse(req_status.body);
|
req_status = JSON.parse(req_status.body);
|
||||||
if (req_status == {}) return { error: loc(obj.lang, 'ErrorCouldntFetch') }
|
if (req_status == {}) return { error: loc(obj.lang, 'ErrorCouldntFetch') }
|
||||||
|
|
Loading…
Reference in a new issue