Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #95 from HenrikOssipoff/api_propagation_from_list
Browse files Browse the repository at this point in the history
Propagate non-global API from List
  • Loading branch information
avidas committed Jun 8, 2015
2 parents 2b2c6c0 + 994d83c commit 5328c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paypalrestsdk/resource.py
Expand Up @@ -133,7 +133,7 @@ def all(cls, params=None, api=None):
except AttributeError:
# To handle the case when response is JSON Array
if isinstance(response, list):
new_resp = [cls.list_class(elem) for elem in response]
new_resp = [cls.list_class(elem, api=api) for elem in response]
return new_resp


Expand Down

0 comments on commit 5328c26

Please sign in to comment.