mirror of
https://github.com/nextcloud/server.git
synced 2026-02-11 23:04:22 -05:00
fix: Ensure app discover section is returned as list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
79dd81995f
commit
dbe88caec5
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue