Skip to content

Commit

Permalink
Merge branch 'master' of github.com:robinhood/thorn
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Aug 14, 2019
2 parents 235fa30 + 145e1d9 commit 4b8e3a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Notable examples of webhooks in use are:
+------------+---------------------------------------------------------------+
| Stripe | https://stripe.com/docs/webhooks |
+------------+---------------------------------------------------------------+
| PayPal | http://bit.ly/1TbDtvj |
| PayPal | https://developer.paypal.com/docs/integration/direct/webhooks/|
+------------+---------------------------------------------------------------+

Example
Expand Down
2 changes: 1 addition & 1 deletion thorn/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def dispatch(self, session=None, propagate=False):
self.validate_recipient(self.subscriber.url)
with self._finalize_unless_request_error(propagate):
self.response = self.post(session=session)
return self
return self

@contextmanager
def _finalize_unless_request_error(self, propagate=False):
Expand Down

0 comments on commit 4b8e3a9

Please sign in to comment.