Skip to content

Commit

Permalink
fix(fivestarexchange): base and quote were reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpater committed Jul 23, 2020
1 parent e189fc3 commit 3dbfc12
Show file tree
Hide file tree
Showing 2 changed files with 852 additions and 852 deletions.
2 changes: 1 addition & 1 deletion drivers/fivestar.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Fivestar extends Driver {
const markets = await request('https://fivestarexchange.in/public/ticker');

return Object.keys(markets).map((market) => {
const [quote, base] = market.split('_');
const [base, quote] = market.split('_');
const ticker = markets[market];

return new Ticker({
Expand Down
Loading

0 comments on commit 3dbfc12

Please sign in to comment.