From 6adfbc6aa19a355bad5cfa76f9b8b2ad58982d8a Mon Sep 17 00:00:00 2001 From: Olivier Bellone Date: Fri, 7 Dec 2018 19:54:02 +0100 Subject: [PATCH] Fix iterating on files.list method --- lib/resources/Files.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/resources/Files.js b/lib/resources/Files.js index 4d8f355e3d..0315d3092d 100644 --- a/lib/resources/Files.js +++ b/lib/resources/Files.js @@ -65,6 +65,7 @@ module.exports = StripeResource.extend({ }, path: 'files', + includeBasic: ['list', 'retrieve'], create: stripeMethod({ method: 'POST', @@ -73,14 +74,4 @@ module.exports = StripeResource.extend({ }, host: 'files.stripe.com', }), - - list: stripeMethod({ - method: 'GET', - }), - - retrieve: stripeMethod({ - method: 'GET', - path: '/{id}', - urlParams: ['id'], - }), });