Merge pull request #48311 from nextcloud/fix/app-discover

fix: Ensure app discover section is returned as list
This commit is contained in:
Ferdinand Thiessen 2024-09-24 13:35:58 +02:00 committed by GitHub
commit 7da07bfe14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));
}
/**