summaryrefslogtreecommitdiffstats
path: root/controller/feedcontroller.php
diff options
context:
space:
mode:
Diffstat (limited to 'controller/feedcontroller.php')
-rw-r--r--controller/feedcontroller.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php
index 0bd49837a..c09349b15 100644
--- a/controller/feedcontroller.php
+++ b/controller/feedcontroller.php
@@ -244,7 +244,9 @@ class FeedController extends Controller {
public function import($json) {
$feed = $this->feedService->importArticles($json, $this->userId);
- $params = [];
+ $params = [
+ 'starred' => $this->itemService->starredCount($this->userId)
+ ];
if($feed) {
$params['feeds'] = [$feed];