summaryrefslogtreecommitdiffstats
path: root/lib/Controller/ItemApiController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/ItemApiController.php')
-rw-r--r--lib/Controller/ItemApiController.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Controller/ItemApiController.php b/lib/Controller/ItemApiController.php
index 3e31d2fdd..442734127 100644
--- a/lib/Controller/ItemApiController.php
+++ b/lib/Controller/ItemApiController.php
@@ -32,13 +32,12 @@ class ItemApiController extends ApiController
private $itemService;
public function __construct(
- string $appName,
IRequest $request,
- IUserSession $userSession,
+ ?IUserSession $userSession,
ItemService $oldItemService,
ItemServiceV2 $itemService
) {
- parent::__construct($appName, $request, $userSession);
+ parent::__construct($request, $userSession);
$this->oldItemService = $oldItemService;
$this->itemService = $itemService;