Skip to content

Commit

Permalink
fix: fixed notification generated event for grouped notifications (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadadeeltajamul authored Dec 19, 2024
1 parent 5425063 commit 930989e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/notifications/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def send_notifications(user_ids, course_key: str, app_name, notification_type, c
group_user_notifications(new_notification, existing_notifications[user_id])
else:
notifications.append(new_notification)
generated_notification_audience.append(user_id)
generated_notification_audience.append(user_id)

# send notification to users but use bulk_create
notification_objects = Notification.objects.bulk_create(notifications)
Expand Down

0 comments on commit 930989e

Please sign in to comment.