Skip to content

Commit

Permalink
Fix wrong required parameter of downloadlink method
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Jun 2, 2020
1 parent 9dbe63d commit c28fa98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Changelog
- Missing variable in output in case a directory already exists
[blasterspike]

- Fix parameter of downloadlink method
[tomgross]

- Add more details on authentication error
[yennicks]

1.0a8 (2020-02-21)
------------------

Expand Down
2 changes: 1 addition & 1 deletion src/pcloud/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def uploadfile(self, **kwargs):
def uploadprogress(self, **kwargs):
return self._do_request("uploadprogress", **kwargs)

@RequiredParameterCheck(("links",))
@RequiredParameterCheck(("url",))
def downloadfile(self, **kwargs):
return self._do_request("downloadfile", **kwargs)

Expand Down

0 comments on commit c28fa98

Please sign in to comment.