Skip to content

Commit

Permalink
fix: Ensure app discover section is returned as list
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux authored and backportbot[bot] committed Sep 24, 2024
1 parent 79dd819 commit dbe88ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/settings/lib/Controller/AppSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function viewApps(): TemplateResponse {
#[NoCSRFRequired]
public function getAppDiscoverJSON(): JSONResponse {
$data = $this->discoverFetcher->get(true);
return new JSONResponse($data);
return new JSONResponse(array_values($data));
}

/**
Expand Down

0 comments on commit dbe88ca

Please sign in to comment.