summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-16 11:21:10 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-17 10:41:13 +0200
commit04c5259df0510cb89ad14bac9ad29a93688f659e (patch)
treebba02036fc39f2d6d554f4a3b538c6f07f833a15 /apps/provisioning_api
parentce0604bd0627c62671d46d443639815ade4d4852 (diff)
downloadnextcloud-server-04c5259df0510cb89ad14bac9ad29a93688f659e.tar.gz
nextcloud-server-04c5259df0510cb89ad14bac9ad29a93688f659e.zip
Allow to retrieve the quota itself via the provisioning api
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index 29d449e97d6..8e5975468b1 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -623,6 +623,7 @@ class UsersController extends OCSController {
'used' => $storage['used'],
'total' => $storage['total'],
'relative' => $storage['relative'],
+ 'quota' => $storage['quota'],
];
} catch (NotFoundException $ex) {
$data = [];