Skip to content

Commit

Permalink
v1-Beta6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kid1194 committed Feb 11, 2024
1 parent ff98a3e commit e228516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alerts/utils/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def mark_seens(names):
}

user = frappe.session.user
ret = {"success": 1}
data = {"success": 1}
unseen = []
for v in names:
if v and isinstance(v, str):
Expand All @@ -251,9 +251,9 @@ def mark_seens(names):
unseen.append(v)

if unseen:
ret["unseen"] = unseen
data["unseen"] = unseen

return ret
return data


# [Internal]
Expand Down

0 comments on commit e228516

Please sign in to comment.