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:37:41 +0000 |
commit | dbe88caec5ee07307d32bb79e89fbd35919220dc (patch) | |
tree | ec1c421160b19fa8610846381ed002f06c3e6bf4 /apps/settings/lib | |
parent | 79dd81995f70f71a5ba2e19957d9261e3a6030b3 (diff) | |
download | nextcloud-server-dbe88caec5ee07307d32bb79e89fbd35919220dc.tar.gz nextcloud-server-dbe88caec5ee07307d32bb79e89fbd35919220dc.zip |
fix: Ensure app discover section is returned as listbackport/48311/stable30
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/settings/lib')
-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 760584888c0..743c1673a56 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -106,7 +106,7 @@ class AppSettingsController extends Controller { #[NoCSRFRequired] public function getAppDiscoverJSON(): JSONResponse { $data = $this->discoverFetcher->get(true); - return new JSONResponse($data); + return new JSONResponse(array_values($data)); } /** |