Skip to content

Commit

Permalink
fix: wrong order ids (ViewBlock#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
yovanoc authored Dec 10, 2021
1 parent d71ef98 commit 14ef5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const sendResult = call =>

// If response is ok, we can safely assume it is valid JSON
if (res.ok) {
return res.json()
return res.text().then(text => JSONbig.parse(text))
}

// Errors might come from the API itself or the proxy Binance is using.
Expand Down

0 comments on commit 14ef5a9

Please sign in to comment.