Pass the updated model through for updating node config, rather than old model, ref #1237
This commit is contained in:
parent
7ed9c7cb93
commit
3bb9bf04e5
3 changed files with 5 additions and 11 deletions
|
@ -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()
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue