aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/home.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/home.py')
-rw-r--r--src/web/views/home.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/views/home.py b/src/web/views/home.py
index fd677b3c..12a06024 100644
--- a/src/web/views/home.py
+++ b/src/web/views/home.py
@@ -133,8 +133,9 @@ def get_article(article_id, parse=False):
def mark_all_as_read():
filters = _get_filters(request.json)
acontr = ArticleController(current_user.id)
+ processed_articles = _articles_to_json(acontr.read_light(**filters))
acontr.update(filters, {'readed': True})
- return _articles_to_json(acontr.read(**filters))
+ return processed_articles
@current_app.route('/fetch', methods=['GET'])
bgstack15