stytchauth / stytch-go

Official Stytch Backend SDK for Go
MIT License
47 stars 10 forks source link

Fix stytch-go NewClient with override http client #141

Closed logan-stytch closed 1 year ago

logan-stytch commented 1 year ago

External bug report that we weren't properly handling the underlying realClient. I believe the cause was two different PRs that went out close to one another and we just got mixed up handling the httpClient.

Testing

Created this test file locally (using real values instead of the REDACTED fields): image

And then running it: image