Skip to content

Commit 4e3e9f9

Browse files
authored
Merge pull request #2741 from IFRCGo/feat/update-alert-email-notification
Alert-system: pass recipients as list to send_notification
2 parents 41ff810 + c50eaa9 commit 4e3e9f9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

alert_system/email_processing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ def send_alert_email_notification(
4848

4949
email_context = get_alert_email_context(load_item, user)
5050
email_body = render_to_string(template, email_context)
51-
5251
send_notification(
5352
subject=subject,
54-
recipients=user.email,
53+
recipients=[user.email],
5554
message_id=message_id,
5655
in_reply_to=in_reply_to,
5756
html=email_body,

0 commit comments

Comments
 (0)