From b40b1902136762376e8531ada701a023c81a606e Mon Sep 17 00:00:00 2001 From: Jaimyn Mayer Date: Fri, 22 Sep 2023 11:21:41 +1000 Subject: [PATCH] added default value to template_name in send_email_to_admin --- memberportal/services/emails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memberportal/services/emails.py b/memberportal/services/emails.py index 1f463301..4614490b 100644 --- a/memberportal/services/emails.py +++ b/memberportal/services/emails.py @@ -79,7 +79,7 @@ def send_single_email( def send_email_to_admin( subject: object, template_vars: object, - template_name, + template_name=None, reply_to=None, user: object | None = None, ) -> object: