-
Notifications
You must be signed in to change notification settings - Fork 356
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
Fix Stripe.File.create #838
Conversation
@@ -43,7 +43,7 @@ defmodule Stripe.Mixfile do | |||
defp env do | |||
[ | |||
api_base_url: "https://api.stripe.com", | |||
api_upload_url: "https://files.stripe.com/v1/", | |||
api_upload_url: "https://files.stripe.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confirmed, we
stripity-stripe/lib/generated/file.ex
Line 142 in 73faf6d
|> Stripe.Request.put_endpoint("/v1/files") |
CI is failing hhhhmmm |
Seems unrelated to this PR. Also failing in this PR. Error is something to do with the |
Would you mind digging into it? Otherwise, I could follow up on by the end of the next week (if I do not forget*) |
I'll take a look |
Rebase and we go to go |
🚀 💜 |
Problem:
Stripe.File.create
was failing/v1//v1/files
. This was fixed by changing the config variableapi_upload_url
.stripe-mock
used not to support it. It does now, so I've enabled the test and fixed it.test/stripe/subscriptions/credit_note_test.exs
and it only involves the order of query parameters. Hopefully this fix is stable.