diff --git a/lib/fediblock.js b/lib/fediblock.js index 71bd9fe..6d894bb 100644 --- a/lib/fediblock.js +++ b/lib/fediblock.js @@ -26,11 +26,9 @@ module.exports = async (client, apex, app) => { headers: { 'User-Agent': constant.agent }, signal: ac.signal, keepalive: false, - timeout: constant.timeout - }), - json = await response.json() - // setImmediate(() => { ac.abort() }) - return json + timeout: constant.timeout, + }) + return await response.json() }, scanInstance = async instance => { const json = await requestPart(`https://${instance}/api/v1/instance/domain_blocks`)