Skip to content

Commit

Permalink
set client passed in argument
Browse files Browse the repository at this point in the history
Signed-off-by: Nitishkumar Singh <[email protected]>
  • Loading branch information
nitishkumar71 authored and alexellis committed Sep 13, 2023
1 parent 63806f7 commit 65db30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type ClientAuth interface {
func NewClient(gatewayURL *url.URL, auth ClientAuth, client *http.Client) *Client {
return &Client{
GatewayURL: gatewayURL,
Client: http.DefaultClient,
Client: client,
ClientAuth: auth,
}
}
Expand Down

0 comments on commit 65db30b

Please sign in to comment.