diff options
Diffstat (limited to 'apps/files_external/lib/Controller/UserStoragesController.php')
-rw-r--r-- | apps/files_external/lib/Controller/UserStoragesController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Controller/UserStoragesController.php b/apps/files_external/lib/Controller/UserStoragesController.php index 6f55af96d1d..46285c4758a 100644 --- a/apps/files_external/lib/Controller/UserStoragesController.php +++ b/apps/files_external/lib/Controller/UserStoragesController.php @@ -148,7 +148,7 @@ class UserStoragesController extends StoragesController { $this->updateStorageStatus($newStorage); return new DataResponse( - $newStorage, + $this->formatStorageForUI($newStorage), Http::STATUS_CREATED ); } @@ -208,7 +208,7 @@ class UserStoragesController extends StoragesController { $this->updateStorageStatus($storage, $testOnly); return new DataResponse( - $storage, + $this->formatStorageForUI($storage), Http::STATUS_OK ); |