diff options
Diffstat (limited to 'lib/Controller/ItemApiController.php')
-rw-r--r-- | lib/Controller/ItemApiController.php | 5 |
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; |