forked from Alex/Pterodactyl-Panel
Fix data being passed along to daemon
This commit is contained in:
parent
95d19bf09e
commit
eed4be49ab
@ -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,
|
||||
],
|
||||
]
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user