Skip to content

Commit

Permalink
fix: mark all as read not working
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Sep 28, 2024
1 parent c9f3fc8 commit 9e156ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crm/api/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def get_notifications():
def mark_as_read(user=None, doc=None):
user = user or frappe.session.user
filters = {"to_user": user, "read": False}
or_filters = []
if doc:
or_filters = [
{"comment": doc},
Expand Down

0 comments on commit 9e156ef

Please sign in to comment.