return response.json()
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
db82d75dc8
commit
74d6f6d488
@ -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`)
|
||||
|
Loading…
Reference in New Issue
Block a user