mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
@@ -19,7 +19,7 @@ class DaemonConfigurationRepository extends DaemonRepository
|
||||
$response = $this
|
||||
->getHttpClient()
|
||||
->connectTimeout($connectTimeout)
|
||||
->get('/api/system'.(!is_null($version) ? '?v='.$version : ''));
|
||||
->get('/api/system' . (!is_null($version) ? '?v=' . $version : ''));
|
||||
} catch (TransferException $exception) {
|
||||
throw new DaemonConnectionException($exception);
|
||||
}
|
||||
|
||||
@@ -96,7 +96,7 @@ class DaemonServerRepository extends DaemonRepository
|
||||
Assert::isInstanceOf($this->server, Server::class);
|
||||
|
||||
try {
|
||||
$this->getHttpClient()->delete('/api/servers/'.$this->server->uuid);
|
||||
$this->getHttpClient()->delete('/api/servers/' . $this->server->uuid);
|
||||
} catch (TransferException $exception) {
|
||||
throw new DaemonConnectionException($exception);
|
||||
}
|
||||
@@ -192,7 +192,7 @@ class DaemonServerRepository extends DaemonRepository
|
||||
{
|
||||
Assert::isInstanceOf($this->server, Server::class);
|
||||
|
||||
$this->revokeJTIs([md5($id.$this->server->uuid)]);
|
||||
$this->revokeJTIs([md5($id . $this->server->uuid)]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user