cloudinitService->setServer($server)->fetchConfig(); return Inertia::render('servers/settings/Index', [ 'server' => $server, 'config' => $data ? $this->removeExtraDataProperty($data) : $this->cloudinitService->getServerInaccessibleConfig(), ]); } public function updateBasicInfo(Server $server, UpdateBasicInfoRequest $request) { $server->update(['name' => $request->name]); return $this->returnNoContent(); } }