Skip to content

Commit

Permalink
fix: htx response error code
Browse files Browse the repository at this point in the history
  • Loading branch information
linstohu committed Dec 28, 2023
1 parent 524f084 commit ce5be49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htx/utils/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ func (h *HTTPRequest) RequestBody() (string, error) {
}

type V1Response struct {
Status string `json:"messsage"`
Ch string `json:"ch"`
Status string `json:"status"`
Ch string `json:"ch"`
ErrCode string `json:"err-code,omitempty"`
ErrMsg string `json:"err-msg,omitempty"`
}

type V2Response struct {
Expand Down

0 comments on commit ce5be49

Please sign in to comment.