fix: Ensure app discover section is returned as list

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/48311/head
Ferdinand Thiessen 2 years ago
parent 12ed773b58
commit 9bc0aa03b2
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
  1. 2
      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));
}
/**

Loading…
Cancel
Save