fix: fixed notification generated event for grouped notifications (#36048)
This commit is contained in:
committed by
GitHub
parent
54250632d8
commit
930989e5e6
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user