summaryrefslogtreecommitdiffstats
path: root/lib/Controller/FeedApiController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/FeedApiController.php')
-rw-r--r--lib/Controller/FeedApiController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/FeedApiController.php b/lib/Controller/FeedApiController.php
index 65181f8ac..eb6edcad2 100644
--- a/lib/Controller/FeedApiController.php
+++ b/lib/Controller/FeedApiController.php
@@ -16,6 +16,7 @@
namespace OCA\News\Controller;
use Exception;
+use OCA\News\AppInfo\Application;
use OCA\News\Service\Exceptions\ServiceConflictException;
use OCA\News\Service\Exceptions\ServiceNotFoundException;
use OCA\News\Service\FeedServiceV2;
@@ -61,15 +62,14 @@ class FeedApiController extends ApiController
private $serializer;
public function __construct(
- string $appName,
IRequest $request,
- IUserSession $userSession,
+ ?IUserSession $userSession,
FeedService $oldFeedService,
FeedServiceV2 $feedService,
ItemService $oldItemService,
LoggerInterface $logger
) {
- parent::__construct($appName, $request, $userSession);
+ parent::__construct($request, $userSession);
$this->feedService = $feedService;
$this->oldFeedService = $oldFeedService;
$this->oldItemService = $oldItemService;