Fix data being passed along to daemon

This commit is contained in:
Dane Everitt
2019-05-01 21:58:35 -07:00
parent 95d19bf09e
commit eed4be49ab

View File

@@ -79,8 +79,10 @@ class FileRepository extends BaseWingsRepository implements FileRepositoryInterf
return $this->getHttpClient()->post(
sprintf('/api/servers/%s/files/create-directory', $this->getServer()->uuid),
[
'name' => $name,
'directory' => $path,
'json' => [
'name' => $name,
'path' => $path,
],
]
);
}