Skip to content

Commit

Permalink
kucoin: transpilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mkutny committed Feb 1, 2018
1 parent 2edb396 commit da1f424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/kucoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ module.exports = class kucoin extends Exchange {
};
let response = await this.privateGetOrderDetail (this.extend (request, params));
let order = response['data'];
if (order === null)
if (!order)
throw new OrderNotFound (this.id + ' ' + this.json (response));
return this.parseOrder (response['data'], market);
}
Expand Down

0 comments on commit da1f424

Please sign in to comment.