diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-24 13:35:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 13:35:58 +0200 |
commit | 7da07bfe14862186603311dd5e7a8d107fd31593 (patch) | |
tree | 221b5c109b42f7ec172964329c16091efcc36b76 | |
parent | 12ed773b58f023a642a4f03acfa8a5f9c3d58ce5 (diff) | |
parent | 9bc0aa03b2c33b91ac301e92421dd5a163e013b2 (diff) | |
download | nextcloud-server-7da07bfe14862186603311dd5e7a8d107fd31593.tar.gz nextcloud-server-7da07bfe14862186603311dd5e7a8d107fd31593.zip |
Merge pull request #48311 from nextcloud/fix/app-discover
fix: Ensure app discover section is returned as list
-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 930c1c0f7e2..a971a893393 100644 --- a/apps/settings/lib/Controller/AppSettingsController.php +++ b/apps/settings/lib/Controller/AppSettingsController.php @@ -105,7 +105,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)); } /** |