summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-16 18:00:03 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-16 18:00:03 +0100
commit5ec64c4fd7f087027ef945c4d694de1d90bbd814 (patch)
tree6168feaab46a19d2f00ac8a8ccb0cb2e5aa00c47 /apps/provisioning_api/appinfo
parent854f9dbea701e7c825e5ac8c5122f8bed8e696fa (diff)
parent61425b7621973faadafe070175e51278acb2e159 (diff)
downloadnextcloud-server-5ec64c4fd7f087027ef945c4d694de1d90bbd814.tar.gz
nextcloud-server-5ec64c4fd7f087027ef945c4d694de1d90bbd814.zip
Merge pull request #20292 from owncloud/provisioning_api_group_unittest
Moved grouptest over to pure unit tests
Diffstat (limited to 'apps/provisioning_api/appinfo')
-rw-r--r--apps/provisioning_api/appinfo/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php
index d2cba549846..22a923f5c20 100644
--- a/apps/provisioning_api/appinfo/routes.php
+++ b/apps/provisioning_api/appinfo/routes.php
@@ -51,7 +51,8 @@ API::register('get', '/cloud/users/{userid}/subadmins', [$users, 'getUserSubAdmi
// Groups
$groups = new \OCA\Provisioning_API\Groups(
\OC::$server->getGroupManager(),
- \OC::$server->getUserSession()
+ \OC::$server->getUserSession(),
+ \OC::$server->getRequest()
);
API::register('get', '/cloud/groups', [$groups, 'getGroups'], 'provisioning_api', API::SUBADMIN_AUTH);
API::register('post', '/cloud/groups', [$groups, 'addGroup'], 'provisioning_api', API::SUBADMIN_AUTH);