diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-24 12:31:57 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-24 12:34:22 +0200 |
commit | 9bc0aa03b2c33b91ac301e92421dd5a163e013b2 (patch) | |
tree | 221b5c109b42f7ec172964329c16091efcc36b76 /apps | |
parent | 12ed773b58f023a642a4f03acfa8a5f9c3d58ce5 (diff) | |
download | nextcloud-server-9bc0aa03b2c33b91ac301e92421dd5a163e013b2.tar.gz nextcloud-server-9bc0aa03b2c33b91ac301e92421dd5a163e013b2.zip |
fix: Ensure app discover section is returned as listfix/app-discover
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps')
-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)); } /** |