diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 5b63a41..b209d64 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -113,7 +113,8 @@ final class ApiController extends Controller if (!empty($uploadedFiles = $request->getFiles() ?? [])) { $uploaded = $this->app->moduleManager->get('Media')->uploadFiles( - [''], + [], + [], $uploadedFiles, $request->header->account, __DIR__ . '/../../../Modules/Media/Files/Modules/Knowledgebase', diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 051ac7e..f5fc99c 100755 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -392,4 +392,4 @@ function phpServe() : void }); } -phpServe(); +\phpServe();