Don't need json key anymore
This commit is contained in:
parent
264df1876b
commit
57288ff6c8
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class Server extends Model
|
|||
{
|
||||
try {
|
||||
return Http::daemon($this->node)->post("/api/servers/{$this->uuid}/commands", [
|
||||
'json' => ['commands' => is_array($command) ? $command : [$command]],
|
||||
'commands' => is_array($command) ? $command : [$command],
|
||||
])->toPsrResponse();
|
||||
} catch (TransferException $exception) {
|
||||
throw new DaemonConnectionException($exception);
|
||||
|
|
Loading…
Reference in a new issue