Skip to content

Commit

Permalink
Merge pull request #534 from stripe/ob-fix-533
Browse files Browse the repository at this point in the history
Fix iterating on files.list method
  • Loading branch information
ob-stripe authored Dec 7, 2018
2 parents b128a28 + 6adfbc6 commit 47ef16b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lib/resources/Files.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = StripeResource.extend({
},

path: 'files',
includeBasic: ['list', 'retrieve'],

create: stripeMethod({
method: 'POST',
Expand All @@ -73,14 +74,4 @@ module.exports = StripeResource.extend({
},
host: 'files.stripe.com',
}),

list: stripeMethod({
method: 'GET',
}),

retrieve: stripeMethod({
method: 'GET',
path: '/{id}',
urlParams: ['id'],
}),
});

0 comments on commit 47ef16b

Please sign in to comment.