Fix empty request body to wings when decompressing a file

This commit is contained in:
Matthew Penner 2020-07-15 12:29:52 -06:00
parent 1a6669aa5c
commit b6e31096f0

View file

@ -256,7 +256,7 @@ class DaemonFileRepository extends DaemonRepository
return $this->getHttpClient()->post(
sprintf('/api/servers/%s/files/decompress', $this->server->uuid),
[
'json ' => [
'json' => [
'root' => $root ?? '/',
'file' => $file,
],