return await
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ale 2024-11-10 11:53:58 +01:00
parent 8a2747408a
commit fe94f0d33c

View File

@ -35,10 +35,11 @@ module.exports = async (client, apex, app) => {
setImmediate(() => clearTimeout(timeout))
return await response.json()
} catch (e) {
return setImmediate(() => {
setImmediate(() => {
clearTimeout(timeout)
ac.abort()
})
return
// console.error(e)
}
},