Skip to content

Commit

Permalink
Merge pull request #122 from owncloud/core-19386-url-change
Browse files Browse the repository at this point in the history
Adjust the pending remote share URLs
  • Loading branch information
nickvergessen committed Oct 2, 2015
2 parents ce4f8fc + 95c5426 commit c99846b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions owncloud/owncloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ def list_open_remote_share(self):
res = self.__make_ocs_request(
'GET',
self.OCS_SERVICE_SHARE,
'remote_shares'
'remote_shares/pending'
)
if res.status_code == 200:
tree = ET.fromstring(res.content)
Expand Down Expand Up @@ -549,7 +549,7 @@ def accept_remote_share(self, share_id):
res = self.__make_ocs_request(
'POST',
self.OCS_SERVICE_SHARE,
'remote_shares/' + str(share_id)
'remote_shares/pending/' + str(share_id)
)
if res.status_code == 200:
return res
Expand All @@ -568,7 +568,7 @@ def decline_remote_share(self, share_id):
res = self.__make_ocs_request(
'DELETE',
self.OCS_SERVICE_SHARE,
'remote_shares/' + str(share_id)
'remote_shares/pending/' + str(share_id)
)
if res.status_code == 200:
return res
Expand Down

0 comments on commit c99846b

Please sign in to comment.