Browse Source

update function description

merge-requests/21/head
James Southern 7 years ago
parent
commit
e3dc09d0f1
  1. 4
      tildes/tildes/views/api/web/comment.py

4
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':

Loading…
Cancel
Save