diff --git a/client/main.go b/client/main.go index ad0f966c..0abed1ff 100644 --- a/client/main.go +++ b/client/main.go @@ -17,7 +17,7 @@ type Client struct { } func NewClient(url string, httpClient *http.Client) *Client { - c := &Client{url: url} + c := &Client{url: url, httpClient: httpClient} c.refreshClient() return c }