diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-06-21 16:38:25 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-06-21 16:38:25 +0200 |
commit | 99075825e37ea49800bb451a243e7d09b68a7f8d (patch) | |
tree | 55e6e3436122ba5fd032d3bd6ebfbc6873f44cdc /apps/provisioning_api/lib | |
parent | 9d121985dc2980ca9c3b4a69d807926d2424757d (diff) | |
download | nextcloud-server-99075825e37ea49800bb451a243e7d09b68a7f8d.tar.gz nextcloud-server-99075825e37ea49800bb451a243e7d09b68a7f8d.zip |
changes the returned key from UserID to id, in accordance with getUserData
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 252db66c35e..c4afdd40fdf 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -337,7 +337,7 @@ class UsersController extends AUserData { } } - return new DataResponse(['UserID' => $userid]); + return new DataResponse(['id' => $userid]); } catch (HintException $e ) { $this->logger->logException($e, [ |