From 415bebfd34dc8405b8acdc4cce20c2c074de305a Mon Sep 17 00:00:00 2001 From: Nikita Melkozerov Date: Thu, 7 Mar 2024 16:45:11 +0000 Subject: [PATCH] Make destinations a list --- fixbackend/notification/email/email_sender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixbackend/notification/email/email_sender.py b/fixbackend/notification/email/email_sender.py index 2bc0e250..e0c9c73d 100644 --- a/fixbackend/notification/email/email_sender.py +++ b/fixbackend/notification/email/email_sender.py @@ -98,7 +98,7 @@ def send_email() -> None: self.ses.send_raw_email( Source="noreply@fix.security", - Destinations=to, + Destinations=[to], RawMessage={"Data": msg.as_string().encode("utf-8")}, )