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

Fix iterating on files.list method #534

Merged
merged 1 commit into from
Dec 7, 2018
Merged

Fix iterating on files.list method #534

merged 1 commit into from
Dec 7, 2018

Conversation

ob-stripe
Copy link
Contributor

r? @rattrayalex-stripe
cc @stripe/api-libraries

The retrieve and list methods were manually defined on files because they used to hit a different host (files.stripe.com vs. api.stripe.com). Now files.stripe.com is only used for upload and download requests and api.stripe.com is used for retrieving / listing file objects, so we can use the standard methods.

Fixes #533.

@rattrayalex-stripe
Copy link
Contributor

Nice! This, will work for all users, correct? Assuming so,

LGTM

@ob-stripe
Copy link
Contributor Author

Yep, the retrieve and list endpoints are accessible via both hosts regardless of API version or anything.

Thanks Alex!

@ob-stripe ob-stripe merged commit 47ef16b into master Dec 7, 2018
@ob-stripe ob-stripe deleted the ob-fix-533 branch December 7, 2018 19:02
@ob-stripe
Copy link
Contributor Author

Released as 6.18.1.

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

Successfully merging this pull request may close these issues.

2 participants