aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-09-24 12:31:57 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-24 11:36:45 +0000
commit954213642a4f75a62bebc406e89dbb6e17fe1646 (patch)
treecc53933f13892e507b7f6d31ef06625386a89159
parent8e58d58c3e2a80253c2ed914706159f0f5d18c53 (diff)
downloadnextcloud-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.php2
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));
}
/**