Update app/Repositories/Daemon/DaemonFileRepository.php

This commit is contained in:
Lance Pioch
2024-04-19 00:33:42 -04:00
committed by GitHub
parent c0b1345e90
commit ad372a754e

View File

@@ -56,9 +56,7 @@ class DaemonFileRepository extends DaemonRepository
return $this->getHttpClient()
->withQueryParameters(['file' => $path])
->withBody($content)
->post(
sprintf('/api/servers/%s/files/write', $this->server->uuid)
);
->post(sprintf('/api/servers/%s/files/write', $this->server->uuid));
} catch (TransferException $exception) {
throw new DaemonConnectionException($exception);
}