diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-01-06 00:03:08 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-06 11:40:22 +0100 |
commit | 88c7face07722d03806c5b89a41a3ab90bbd9718 (patch) | |
tree | e95003decc4033538a188050b8a2cf7cf50db34c /apps/provisioning_api/appinfo | |
parent | c77917f48c6c6d7110c7380a398e25beb906f50f (diff) | |
download | nextcloud-server-88c7face07722d03806c5b89a41a3ab90bbd9718.tar.gz nextcloud-server-88c7face07722d03806c5b89a41a3ab90bbd9718.zip |
Inject OCSClient
Fixes https://github.com/owncloud/core/issues/21451
Diffstat (limited to 'apps/provisioning_api/appinfo')
-rw-r--r-- | apps/provisioning_api/appinfo/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php index 22a923f5c20..1b9328d608a 100644 --- a/apps/provisioning_api/appinfo/routes.php +++ b/apps/provisioning_api/appinfo/routes.php @@ -62,7 +62,8 @@ API::register('get', '/cloud/groups/{groupid}/subadmins', [$groups, 'getSubAdmin // Apps $apps = new \OCA\Provisioning_API\Apps( - \OC::$server->getAppManager() + \OC::$server->getAppManager(), + \OC::$server->getOcsClient() ); API::register('get', '/cloud/apps', [$apps, 'getApps'], 'provisioning_api', API::ADMIN_AUTH); API::register('get', '/cloud/apps/{appid}', [$apps, 'getAppInfo'], 'provisioning_api', API::ADMIN_AUTH); |