|
|
@@ -270,7 +270,8 @@ impl Platform for HtxSwap {
|
|
|
}
|
|
|
|
|
|
let res_data_json = response.data;
|
|
|
- let result = format_order_item(res_data_json, ct_val);
|
|
|
+ let orders = res_data_json.as_array().unwrap();
|
|
|
+ let result = format_order_item(orders[0].clone(), ct_val);
|
|
|
Ok(result)
|
|
|
}
|
|
|
|