diff --git a/lib/Controller/WorkspaceController.php b/lib/Controller/WorkspaceController.php index fb582861c..210aa4e21 100644 --- a/lib/Controller/WorkspaceController.php +++ b/lib/Controller/WorkspaceController.php @@ -185,11 +185,11 @@ public function findAll(): JSONResponse { $spaces = []; foreach ($workspaces as $workspace) { $space = array_merge( - $workspace, $this->folderHelper->getFolder( $workspace['groupfolder_id'], $this->rootFolder->getRootFolderStorageId() - ) + ), + $workspace ); $gids = array_keys($space['groups']);