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
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -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),
[ [
'json' => [
'name' => $name, 'name' => $name,
'directory' => $path, 'path' => $path,
],
] ]
); );
} }