This commit is contained in:
Lance Pioch 2024-04-15 01:34:17 -04:00
parent 56e2cac85f
commit 9b9875a31b

View File

@ -40,11 +40,9 @@ class DaemonServerRepository extends DaemonRepository
Assert::isInstanceOf($this->server, Server::class);
try {
$this->getHttpClient()->post('/api/servers', [
'json' => [
'uuid' => $this->server->uuid,
'start_on_completion' => $startOnCompletion,
],
$response = $this->getHttpClient()->post('/api/servers', [
'uuid' => $this->server->uuid,
'start_on_completion' => $startOnCompletion,
]);
} catch (GuzzleException $exception) {
throw new DaemonConnectionException($exception);