Skip to content

Commit

Permalink
refresh node model after updating
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 committed Jan 18, 2025
1 parent 03eaddb commit bbb42d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/Nodes/NodeUpdateService.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ public function handle(Node $node, array $data, bool $resetToken = false): Node
throw new ConfigurationNotPersistedException(trans('exceptions.node.daemon_off_config_updated'));
}

return $updated;
return $updated->refresh();
}
}

0 comments on commit bbb42d4

Please sign in to comment.