Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client.go: Fix issue with platform being overwritten in Client.call() #3

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

HaraldNordgren
Copy link
Contributor

No description provided.

@HaraldNordgren
Copy link
Contributor Author

Hi @mhemmings, it appears that maybe RevCat changed their app to be more strict about handling X-Platform and it's breaking our payments for Stripe:

https://www.revenuecat.com/docs/api-v1#tag/transactions

Could you take a look at this please?

@HaraldNordgren HaraldNordgren changed the title client.go: Fix issue with how platform is set on call() client.go: Fix issue with how platform is overwritten in client.call() Apr 24, 2024
@HaraldNordgren HaraldNordgren changed the title client.go: Fix issue with how platform is overwritten in client.call() client.go: Fix issue with platform being overwritten in client.call() Apr 24, 2024
@HaraldNordgren HaraldNordgren changed the title client.go: Fix issue with platform being overwritten in client.call() client.go: Fix issue with platform being overwritten in Client.call() Apr 24, 2024
@mhemmings
Copy link
Owner

@HaraldNordgren Could you please look at fixing any failing tests?

@mhemmings mhemmings merged commit a7fad02 into mhemmings:master Apr 24, 2024
3 checks passed
@HaraldNordgren
Copy link
Contributor Author

Thanks for the very quick review @mhemmings! Greatly appreciated!

I created a follow-up to add tests as well: #5

After both of these are done, do you think you could bump the library to 1.1.1 or 1.2.0 ? 🤗

@mhemmings
Copy link
Owner

@HaraldNordgren released v2.0.0 just in case, as could potentially be a breaking change for some

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants