aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
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:37:41 +0000
commitdbe88caec5ee07307d32bb79e89fbd35919220dc (patch)
treeec1c421160b19fa8610846381ed002f06c3e6bf4 /apps/settings/lib
parent79dd81995f70f71a5ba2e19957d9261e3a6030b3 (diff)
downloadnextcloud-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.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 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));
}
/**