diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-10 20:53:13 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-10 20:53:13 +0200 |
commit | 9544c97ffe888a16cdf58013b5a97056771eb856 (patch) | |
tree | 298ba79dc9c4f2d00170b897b3a0c2654a4fb084 /core/Controller/OCSController.php | |
parent | 4006763f5b90d7f048a68010f3cf37dcd434b82c (diff) | |
download | nextcloud-server-9544c97ffe888a16cdf58013b5a97056771eb856.tar.gz nextcloud-server-9544c97ffe888a16cdf58013b5a97056771eb856.zip |
Fix Core's OCSController response
Diffstat (limited to 'core/Controller/OCSController.php')
-rw-r--r-- | core/Controller/OCSController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/OCSController.php b/core/Controller/OCSController.php index d5783ae32e9..8eee52096c2 100644 --- a/core/Controller/OCSController.php +++ b/core/Controller/OCSController.php @@ -69,7 +69,7 @@ class OCSController extends \OCP\AppFramework\OCSController { $result['capabilities'] = $this->capabilitiesManager->getCapabilities(); - return new DataResponse(['data' => $result]); + return new DataResponse($result); } /** @@ -83,6 +83,6 @@ class OCSController extends \OCP\AppFramework\OCSController { 'display-name' => $userObject->getDisplayName(), 'email' => $userObject->getEMailAddress(), ]; - return new DataResponse(['data' => $data]); + return new DataResponse($data); } } |