Unverified Commit 39575bcf by Gabe Mulley Committed by GitHub

Merge pull request #16586 from edx/fix-email-tracking

coerce UUIDs to strings when logging email sent events
parents 3132d29c 6de11554
......@@ -203,8 +203,8 @@ def _track_message_sent(site, user, msg):
'app_label': msg.app_label,
'name': msg.name,
'language': msg.language,
'uuid': msg.uuid,
'send_uuid': msg.send_uuid,
'uuid': unicode(msg.uuid),
'send_uuid': unicode(msg.send_uuid),
}
course_ids = msg.context.get('course_ids', [])
properties['num_courses'] = len(course_ids)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment