diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-24 12:31:57 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-09-24 11:36:45 +0000 |
commit | 954213642a4f75a62bebc406e89dbb6e17fe1646 (patch) | |
tree | cc53933f13892e507b7f6d31ef06625386a89159 | |
parent | 8e58d58c3e2a80253c2ed914706159f0f5d18c53 (diff) | |
download | nextcloud-server-954213642a4f75a62bebc406e89dbb6e17fe1646.tar.gz nextcloud-server-954213642a4f75a62bebc406e89dbb6e17fe1646.zip |
fix: Ensure app discover section is returned as listbackport/48311/stable29
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | apps/settings/lib/Controller/AppSettingsController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/AppSettingsController.php b/apps/settings/lib/Controller/AppSettingsController.php index 9dfe4772b93..3b648376efa 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -132,7 +132,7 @@ class AppSettingsController extends Controller { */ public function getAppDiscoverJSON(): JSONResponse { $data = $this->discoverFetcher->get(true); - return new JSONResponse($data); + return new JSONResponse(array_values($data)); } /** |