Skip to content

Commit

Permalink
Fix bug introduced by sec patch
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx committed May 15, 2018
1 parent 64f1ebc commit 832c326
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions recurly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,10 +922,9 @@ def pending(self):
but does not run any transactions.
Returns:
InvoiceCollection: The authorized collection of invoices
InvoiceCollection: The pending collection of invoices
"""
url = recurly.base_uri() + self.collection_path + '/pending'
return self.__invoice(url)
return self.__invoice(self.collection_path + '/pending')

def __invoice(self, url):
# We must null out currency in subscriptions and adjustments
Expand Down

0 comments on commit 832c326

Please sign in to comment.