From 62ddef9c40af414d3c27392e9d5e986aa040c40b Mon Sep 17 00:00:00 2001 From: Sagleft Date: Mon, 13 Dec 2021 21:06:44 +0200 Subject: [PATCH] add empty params to get balance request --- utopia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utopia.go b/utopia.go index 357e43f..d926790 100644 --- a/utopia.go +++ b/utopia.go @@ -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 }