You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation does call out that it is required, but this is good enhancement. Previously, this wasn't a pointer to the struct. When I get chance, I will add this.
davidvonthenen
changed the title
BUG invalid memory address or nil pointer dereference in pkg/client/listen/v1/rest/client.go New()
[Feature] invalid memory address or nil pointer dereference in pkg/client/listen/v1/rest/client.go New()
Oct 24, 2024
What is the current behavior?
if send
nil
todeepgram-go-sdk/pkg/client/listen"
.NewREST
in the second argumentwe get
"invalid memory address or nil pointer dereference"
Steps to reproduce
Workaround
Suggested fix
In
https://github.com/deepgram/deepgram-go-sdk/blob/30cd597e17a2ea5d56614b0a9641aa44e5b4685f/pkg/client/listen/v1/rest/client.go#L49C1-L63C2
instead of
change it to
The text was updated successfully, but these errors were encountered: