diff --git a/api.go b/api.go index ffaafca..0b9b716 100644 --- a/api.go +++ b/api.go @@ -249,6 +249,7 @@ func (c *Client) n26RawRequest(requestMethod, endpoint string, params map[string defer res.Body.Close() return callback(res.Body) } + func (c *Client) n26Request(requestMethod, endpoint string, params map[string]string) []byte { var body []byte err := c.n26RawRequest(requestMethod, endpoint, params, func(r io.Reader) error { diff --git a/cmd/n26/n26.go b/cmd/n26/n26.go index 1ef0311..b2e8ef7 100644 --- a/cmd/n26/n26.go +++ b/cmd/n26/n26.go @@ -15,7 +15,7 @@ import ( ) const ( - appVersion = "1.4.4" + appVersion = "1.4.5" ) func check(e error) {