diff --git a/Controller/ApiController.php b/Controller/ApiController.php index c2f0a9d..1f133a6 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -458,7 +458,7 @@ final class ApiController extends Controller $collection->setPath('/Modules/Media/Files/Modules/Helper/' . ((string) ($request->getData('name') ?? ''))); $collection->setVirtualPath('/Modules/Helper'); - CollectionMapper::create()->execute($collection); + $this->createModel($request->header->account, $collection, CollectionMapper::class, 'collection', $request->getOrigin()); $template = $this->createTemplateFromRequest($request, $collection->getId()); @@ -610,7 +610,7 @@ final class ApiController extends Controller return; } - CollectionMapper::create()->execute($collection); + $this->createModel($request->header->account, $collection, CollectionMapper::class, 'collection', $request->getOrigin()); $report = $this->createReportFromRequest($request, $response, $collection->getId()); diff --git a/Theme/Backend/Lang/api.de.lang.php b/Theme/Backend/Lang/api.de.lang.php deleted file mode 100755 index 19c09e6..0000000 --- a/Theme/Backend/Lang/api.de.lang.php +++ /dev/null @@ -1,16 +0,0 @@ - [ -]]; diff --git a/Theme/Backend/Lang/api.en.lang.php b/Theme/Backend/Lang/api.en.lang.php deleted file mode 100755 index 19c09e6..0000000 --- a/Theme/Backend/Lang/api.en.lang.php +++ /dev/null @@ -1,16 +0,0 @@ - [ -]];