mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #48311 from nextcloud/fix/app-discover
fix: Ensure app discover section is returned as list
This commit is contained in:
commit
7da07bfe14
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue