supabase-community / postgrest-go

Isomorphic Go client for PostgREST. (Now Updating)
https://supabase.io
Apache License 2.0
170 stars 27 forks source link

Minor changes to headers in client.go #21

Closed Carnageous closed 2 years ago

Carnageous commented 2 years ago

As mentioned in https://github.com/supabase-community/postgrest-go/issues/20, I think that the two changes in this PR will solve bugs. I have no idea if others also experienced this, but for me both the missing header and the "wrong" header name made the package unusable for me.

I am using go 1.17 btw.

muratmirgun commented 2 years ago

Thanks for Contribution 💯

muratmirgun commented 2 years ago

A few more people must have encountered the error by now, I am merging, in case of any trouble, I will make a review again