diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-12-16 22:30:19 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2020-12-17 10:35:23 +0100 |
commit | 11f5904dd58cbcb45e0e3e6c466f187e30323155 (patch) | |
tree | 17e7cd35948b161a0e567dec94bb9aecbe64d895 /lib/Controller/ItemApiController.php | |
parent | 7bebaab86e2676466eb9d104ec1a57cd9634c0b4 (diff) |
Fix mapper->find and empty user sessions
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
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; |