You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'headers' of undefined
at Bar.request (/c/Users/z/Projects/turtle/node_modules/dripjs/dist/modules/exchanges/crypto/bitmex/rest/internal/rest.js:57:65)
at process._tickCallback (internal/process/next_tick.js:68:7)
TypeError: Cannot read property 'headers' of undefined
at Bar.request (/c/Users/z/Projects/turtle/node_modules/dripjs/dist/modules/exchanges/crypto/bitmex/rest/internal/rest.js:57:65)
at process._tickCallback (internal/process/next_tick.js:68:7)
try { const response = await axios_1.default(url, request); const ratelimit = common_1.getRateLimit(response.headers); this.remaining = ratelimit.remaining; return { ratelimit, body: response.data, }; } catch (error) { + console.error(error) return { ratelimit: common_1.getRateLimit(errro.response.headers), body: {}, error: error.response.data.error, }; }
The text was updated successfully, but these errors were encountered: