Skip to content

Commit

Permalink
Release: v1.0.8-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-the-h committed Sep 29, 2021
1 parent c618652 commit 7a02900
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ Changelog
=========
All notable changes to this project will be documented in this file.

v1.0.8-alpha
------------

### Changed

- Fixed typo issue on `funding_requests.go`
- Fixed json tag on `account_requests.go`

v1.0.7-alpha
------------

Expand Down
2 changes: 1 addition & 1 deletion requests/rest/account/account_requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type (
ActionType okex.CountAction `json:"actionType,string"`
}
GetLeverage struct {
InstID []string `json:"instId,string"`
InstID []string `json:"instId"`
MgnMode okex.MarginMode `json:"mgnMode,string"`
}
GetMaxLoan struct {
Expand Down
4 changes: 2 additions & 2 deletions requests/rest/funding/funding_requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ type (
Ccy string `json:"ccy,string"`
Amt float64 `json:"amt,string"`
SubAcct string `json:"subAcct,string,omitempty"`
nstID string `json:"instID,string,omitempty"`
ToInstID string `json:"toInstId,string,omitempty"`
InstID string `json:"instID,string,omitempty"`
ToInstID string `json:"instId,string,omitempty"`
Type okex.TransferType `json:"type,omitempty,string"`
From okex.AccountType `json:"from,string"`
To okex.AccountType `json:"to,string"`
Expand Down

0 comments on commit 7a02900

Please sign in to comment.