Update deprecated JSON response creation and unnecessary middleware
This commit is contained in:
parent
f5ad9b9e11
commit
530558b0f8
11 changed files with 9 additions and 91 deletions
|
@ -45,7 +45,7 @@ class ServerInstallController extends Controller
|
|||
$server = $this->repository->getByUuid($uuid);
|
||||
$egg = $server->egg;
|
||||
|
||||
return JsonResponse::create([
|
||||
return new JsonResponse([
|
||||
'container_image' => $egg->copy_script_container,
|
||||
'entrypoint' => $egg->copy_script_entry,
|
||||
'script' => $egg->copy_script_install,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue