Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating broken put method

  • Loading branch information...
commit c49ca6d9e9abc3bbdf641534aab937af12fdb9bd 1 parent 06ca570
@alexjg alexjg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gocardless/client.py
View
2  gocardless/client.py
@@ -80,7 +80,7 @@ def api_post(self, path, data, **kwargs):
return self._request('post', Client.API_PATH + path, data=data,
**kwargs)
- def api_put(self, path, data, **kwargs):
+ def api_put(self, path, data={}, **kwargs):
"""Issue a PUT request to the API server
:param path: The path that will be added to the API prefix
Please sign in to comment.
Something went wrong with that request. Please try again.