mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 10:54:46 +02:00
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(
|
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…
x
Reference in New Issue
Block a user