summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2016-05-13 20:36:42 +0200
committerBjörn Schießle <schiessle@owncloud.com>2016-05-20 21:15:15 +0200
commit2dc26aada7977ad1416d6ac9797355807ab3d190 (patch)
tree3e1736f946f881d631857a190b76ac4a969dd73c /ocs
parent7b25839bd51b3b6cd920209c254f014c03437113 (diff)
downloadnextcloud-server-2dc26aada7977ad1416d6ac9797355807ab3d190.tar.gz
nextcloud-server-2dc26aada7977ad1416d6ac9797355807ab3d190.zip
update share permissions
Diffstat (limited to 'ocs')
-rw-r--r--ocs/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocs/routes.php b/ocs/routes.php
index 1f9fd0037e2..7f4f78dd35d 100644
--- a/ocs/routes.php
+++ b/ocs/routes.php
@@ -135,7 +135,7 @@ if (\OC::$server->getAppManager()->isEnabledForUser('files_sharing')) {
API::register('post',
'/cloud/shares/{id}/permissions',
- array($s2s, 'update'),
+ array($s2s, 'updatePermissions'),
'files_sharing',
API::GUEST_AUTH
);