diff --git a/pdnshttp/client.go b/pdnshttp/client.go index 8a639a5..11298b6 100644 --- a/pdnshttp/client.go +++ b/pdnshttp/client.go @@ -30,7 +30,7 @@ func NewClient(baseURL string, hc *http.Client, auth ClientAuthenticator, debugO u.Path = strings.TrimSuffix(u.Path, "/") } c := Client{ - baseURL: u.String() + baseURL: u.String(), httpClient: hc, authenticator: auth, debugOutput: debugOutput,