diff --git a/app/Http/Controllers/Api/Client/Servers/FileController.php b/app/Http/Controllers/Api/Client/Servers/FileController.php index 4e916974d..55ebde5f2 100644 --- a/app/Http/Controllers/Api/Client/Servers/FileController.php +++ b/app/Http/Controllers/Api/Client/Servers/FileController.php @@ -159,7 +159,7 @@ class FileController extends ClientApiController { $this->fileRepository ->setServer($server) - ->createDirectory($request->input('name'), $request->input('directory', '/')); + ->createDirectory($request->input('name'), $request->input('root', '/')); return Response::create('', Response::HTTP_NO_CONTENT); }