Fix nested directories being created incorrectly

This commit is contained in:
Dane Everitt 2020-07-10 22:10:41 -07:00
parent a430ebb89e
commit fdec3cea80
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -159,7 +159,7 @@ class FileController extends ClientApiController
{ {
$this->fileRepository $this->fileRepository
->setServer($server) ->setServer($server)
->createDirectory($request->input('name'), $request->input('directory', '/')); ->createDirectory($request->input('name'), $request->input('root', '/'));
return Response::create('', Response::HTTP_NO_CONTENT); return Response::create('', Response::HTTP_NO_CONTENT);
} }