From 76c341783a8245fbae3d121e56e07a7ae7ff87d3 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Tue, 10 Oct 2023 19:45:12 +0200 Subject: [PATCH] Fix cancelorderbyidresponse marshalling error --- pkg/model/order/cancelorderbyidresponse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/model/order/cancelorderbyidresponse.go b/pkg/model/order/cancelorderbyidresponse.go index bedcd52..1d88eb2 100644 --- a/pkg/model/order/cancelorderbyidresponse.go +++ b/pkg/model/order/cancelorderbyidresponse.go @@ -5,5 +5,5 @@ type CancelOrderByIdResponse struct { Data string `json:"data"` ErrorCode string `json:"err-code"` ErrorMessage string `json:"err-msg"` - OrderState string `json:"order-state"` + OrderState int `json:"order-state"` }