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 }, headers: { 'User-Agent': constant.agent },
signal: ac.signal, signal: ac.signal,
keepalive: false, keepalive: false,
timeout: constant.timeout timeout: constant.timeout,
}), })
json = await response.json() return await response.json()
// setImmediate(() => { ac.abort() })
return json
}, },
scanInstance = async instance => { scanInstance = async instance => {
const json = await requestPart(`https://${instance}/api/v1/instance/domain_blocks`) const json = await requestPart(`https://${instance}/api/v1/instance/domain_blocks`)