From f44b15b586a05bc9a4a914ec649afc15bc06d9ac Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 17 Jan 2024 11:10:58 +1100 Subject: [PATCH] Update emails.py Fixes #232 by making the send_single_email() functions 'template_name' argument optional --- 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 4614490b..9061abf5 100644 --- a/memberportal/services/emails.py +++ b/memberportal/services/emails.py @@ -12,7 +12,7 @@ def send_single_email( to_email: object, subject: object, template_vars: object, - template_name, + template_name=None, reply_to=None, user: object | None = None, ) -> object: