fix: convert startProxy to action

This commit is contained in:
Andras Bacsai
2023-09-18 12:29:50 +02:00
parent 61f58fa30f
commit 93b202bde4
3 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ class Deploy extends Component
SaveConfiguration::run($this->server);
}
$activity = resolve(StartProxy::class)($this->server);
$activity = StartProxy::run($this->server);
$this->emit('newMonitorActivity', $activity->id);
} catch (\Throwable $e) {
return handleError($e);