mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 11:04:45 +02:00
Update app/Repositories/Daemon/DaemonFileRepository.php
This commit is contained in:
parent
c0b1345e90
commit
ad372a754e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user