Skip to content

Commit

Permalink
Fixed incorrect response mapping SpotApi.HfTrading.PlaceMultipleOrder…
Browse files Browse the repository at this point in the history
…sAsync
  • Loading branch information
JKorf committed Jun 27, 2024
1 parent 2d8310c commit d6e5ae6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
POST
/api/v1/hf/orders/multi
true
{"code":"200000","data":[{"success":false,"failMsg":"Trading pair cannot be empty."}]}
{
"success": true,
"code": "200",
"msg": "success",
"retry": false,
"data": [
{
"orderId": "641d669c9ca34800017a2a3c",
"success": true
},
{
"orderId": "641d669c9ca34800017a2a45",
"success": true
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public record KucoinBulkMinimalResponseEntry
/// <summary>
/// The id of the order
/// </summary>
[JsonProperty("id")]
[JsonProperty("orderId")]
public string? OrderId { get; set; }
/// <summary>
/// The cause of failure
Expand Down

0 comments on commit d6e5ae6

Please sign in to comment.