This commit is contained in:
Dennis Eichhorn 2024-02-04 20:34:13 +00:00
parent 651d497943
commit ccdbb1f15d
2 changed files with 7 additions and 1 deletions

View File

@ -373,7 +373,7 @@ final class ApiController extends Controller
$path = '/Modules/Workflow/' . $request->getData('name');
/** @var \Modules\Media\Models\Media[] $uploaded */
$uploaded = $this->app->moduleManager->get('Media')->uploadFiles(
$uploaded = $this->app->moduleManager->get('Media', 'Api')->uploadFiles(
names: $request->getDataList('names'),
fileNames: $request->getDataList('filenames'),
files: $uploadedFiles,

View File

@ -31,6 +31,12 @@ use phpOMS\Views\View;
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*
* @todo Implement approval process with automatic action
* https://github.com/Karaka-Management/oms-Workflow/issues/6
* https://github.com/Karaka-Management/oms-InvestmentManagement/issues/2
* https://github.com/Karaka-Management/oms-Billing/issues/24
* https://github.com/Karaka-Management/Karaka/issues/270
*/
final class BackendController extends Controller
{