From e3dc09d0f1996be40ebec5de6995f49fcd1a6d06 Mon Sep 17 00:00:00 2001 From: James Southern Date: Mon, 6 Aug 2018 16:16:50 +0100 Subject: [PATCH] update function description --- tildes/tildes/views/api/web/comment.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tildes/tildes/views/api/web/comment.py b/tildes/tildes/views/api/web/comment.py index ad04b09..db33e3b 100644 --- a/tildes/tildes/views/api/web/comment.py +++ b/tildes/tildes/views/api/web/comment.py @@ -334,7 +334,9 @@ def put_mark_comments_read( request: Request, clear_all_previous: str = 'false' ) -> Response: - """Mark a comment read (clear all notifications).""" + """Mark comments read clearing notifications and removing them from topics + 'new' count. if the query param clear_all_previous is 'true' all + notifications prior to the target will be cleared.""" comment = request.context if clear_all_previous == 'true':