mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-15 21:03:45 +02:00
Pass the updated model through for updating node config, rather than old model, ref #1237
This commit is contained in:
@@ -124,7 +124,7 @@ class NodeController extends ApplicationApiController
|
||||
*/
|
||||
public function update(UpdateNodeRequest $request): array
|
||||
{
|
||||
$node = $this->updateService->returnUpdatedModel()->handle(
|
||||
$node = $this->updateService->handle(
|
||||
$request->getModel(Node::class), $request->validated()
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user