diff options
Diffstat (limited to 'core')
-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); } } |