Skip to content

Commit

Permalink
add empty params to get balance request
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagleft committed Dec 13, 2021
1 parent 43c1376 commit 62ddef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utopia.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (c *UtopiaClient) GetFinanceHistory(filters string, referenceNumber string)

// GetBalance request account Crypton balance
func (c *UtopiaClient) GetBalance() (float64, error) {
result, err := c.queryResultToFloat64("getBalance", nil)
result, err := c.queryResultToFloat64("getBalance", map[string]interface{}{})
if err != nil {
return 0, err
}
Expand Down

0 comments on commit 62ddef9

Please sign in to comment.