refactor: Change api client to pass http client to auth client

This commit is contained in:
Evan Fiordeliso 2024-03-08 13:12:13 -05:00
parent 02d09446ce
commit 9c4e63c200
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func NewDefault(clientId, clientSecret, redirectUri string) *API {
},
}
baseUrl, _ := url.Parse(HelixBaseUrl)
authClient := auth.New(clientId, clientSecret, redirectUri)
authClient := auth.NewWithClient(clientId, clientSecret, redirectUri, client)
return New(client, baseUrl, authClient)
}