return response.json()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ale 2024-09-25 00:21:39 +02:00
parent db82d75dc8
commit 74d6f6d488

View File

@ -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`)