Fix data being passed along to daemon
This commit is contained in:
parent
95d19bf09e
commit
eed4be49ab
1 changed files with 4 additions and 2 deletions
|
@ -79,8 +79,10 @@ class FileRepository extends BaseWingsRepository implements FileRepositoryInterf
|
||||||
return $this->getHttpClient()->post(
|
return $this->getHttpClient()->post(
|
||||||
sprintf('/api/servers/%s/files/create-directory', $this->getServer()->uuid),
|
sprintf('/api/servers/%s/files/create-directory', $this->getServer()->uuid),
|
||||||
[
|
[
|
||||||
'name' => $name,
|
'json' => [
|
||||||
'directory' => $path,
|
'name' => $name,
|
||||||
|
'path' => $path,
|
||||||
|
],
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue