Skip to content

Commit

Permalink
huobi order-id empty
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed May 20, 2021
1 parent e43a415 commit deb0d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exchanges/Huobi.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function show(array $data){
}
case 'spot':{
//order-id
if(isset($data['order-id'])) return $this->platform_spot->order()->get($data);
if(isset($data['order-id']) && !empty($data['order-id'])) return $this->platform_spot->order()->get($data);
return $this->platform_spot->order()->getClientOrder($data);
}
case 'swap':{
Expand Down

0 comments on commit deb0d2a

Please sign in to comment.