mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Fix empty request body to wings when decompressing a file
This commit is contained in:
@@ -256,7 +256,7 @@ class DaemonFileRepository extends DaemonRepository
|
|||||||
return $this->getHttpClient()->post(
|
return $this->getHttpClient()->post(
|
||||||
sprintf('/api/servers/%s/files/decompress', $this->server->uuid),
|
sprintf('/api/servers/%s/files/decompress', $this->server->uuid),
|
||||||
[
|
[
|
||||||
'json ' => [
|
'json' => [
|
||||||
'root' => $root ?? '/',
|
'root' => $root ?? '/',
|
||||||
'file' => $file,
|
'file' => $file,
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user