From dd3a7aad8dd59fe75f0c96ffd9b7cea6248d9a21 Mon Sep 17 00:00:00 2001 From: Muhammad Adeel Tajamul <77053848+muhammadadeeltajamul@users.noreply.github.com> Date: Wed, 4 Sep 2024 00:56:56 -0700 Subject: [PATCH] fix: update bulk email created event data (#35412) --- lms/djangoapps/bulk_email/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/bulk_email/tasks.py b/lms/djangoapps/bulk_email/tasks.py index 60d45c1564..0152d14ff0 100644 --- a/lms/djangoapps/bulk_email/tasks.py +++ b/lms/djangoapps/bulk_email/tasks.py @@ -472,7 +472,7 @@ def _send_course_email(entry_id, email_id, to_list, global_email_context, subtas 'edx.bulk_email.created', { 'course_id': str(course_email.course_id), - 'to_list': to_list, + 'to_list': [user_obj.get('email', '') for user_obj in to_list], 'total_recipients': total_recipients, } )