mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Refactor how repositories for the daemon work.
This commit is contained in:
@@ -112,7 +112,7 @@ class StartupModificationService
|
||||
]);
|
||||
|
||||
try {
|
||||
$this->daemonServerRepository->setNode($server->node_id)->setAccessServer($server->uuid)->update($daemonData);
|
||||
$this->daemonServerRepository->setServer($server)->update($daemonData);
|
||||
} catch (RequestException $exception) {
|
||||
$this->connection->rollBack();
|
||||
throw new DaemonConnectionException($exception);
|
||||
|
||||
Reference in New Issue
Block a user