mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 22:03:44 +02:00
Refactor how repositories for the daemon work.
This commit is contained in:
@@ -75,7 +75,7 @@ class NodeUpdateService
|
||||
$updateResponse = $this->repository->withoutFreshModel()->update($node->id, $data);
|
||||
|
||||
try {
|
||||
$this->configRepository->setNode($node->id)->update();
|
||||
$this->configRepository->setNode($node)->update();
|
||||
} catch (RequestException $exception) {
|
||||
$response = $exception->getResponse();
|
||||
$this->writer->warning($exception);
|
||||
|
||||
Reference in New Issue
Block a user