mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Refactor how repositories for the daemon work.
This commit is contained in:
@@ -96,7 +96,7 @@ class SuspensionService
|
||||
]);
|
||||
|
||||
try {
|
||||
$this->daemonServerRepository->setNode($server->node_id)->setAccessServer($server->uuid)->$action();
|
||||
$this->daemonServerRepository->setServer($server)->$action();
|
||||
$this->database->commit();
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user