mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 11:34:45 +02:00
Remove withQueryParameters on get request
This commit is contained in:
parent
11e6430d42
commit
c0b1345e90
@ -26,11 +26,10 @@ class DaemonFileRepository extends DaemonRepository
|
||||
Assert::isInstanceOf($this->server, Server::class);
|
||||
|
||||
try {
|
||||
$response = $this->getHttpClient()
|
||||
->withQueryParameters(['file' => $path])
|
||||
->get(
|
||||
sprintf('/api/servers/%s/files/contents', $this->server->uuid)
|
||||
);
|
||||
$response = $this->getHttpClient()->get(
|
||||
sprintf('/api/servers/%s/files/contents', $this->server->uuid),
|
||||
['file' => $path]
|
||||
);
|
||||
} catch (ClientException|TransferException $exception) {
|
||||
throw new DaemonConnectionException($exception);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user