chore: removed notification for draft issues (#2426)

This commit is contained in:
Bavisetti Narayan 2023-10-17 13:07:40 +05:30 committed by GitHub
parent 98b1a078de
commit 46d34263f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1248,6 +1248,9 @@ def issue_activity(
"comment_reaction.activity.deleted",
"issue_vote.activity.created",
"issue_vote.activity.deleted",
"issue_draft.activity.created",
"issue_draft.activity.updated",
"issue_draft.activity.deleted",
]:
issue = Issue.objects.filter(pk=issue_id).first()
@ -1340,6 +1343,9 @@ def issue_activity(
"comment_reaction.activity.deleted",
"issue_vote.activity.created",
"issue_vote.activity.deleted",
"issue_draft.activity.created",
"issue_draft.activity.updated",
"issue_draft.activity.deleted",
]:
# Create Notifications
bulk_notifications = []