From 7ae00832bd1a081c01adc6bc60e0660a559ae779 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 9 May 2024 13:29:39 -0700 Subject: [PATCH] Rname from parameter to sender in resend call --- src/khoj/routers/email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/khoj/routers/email.py b/src/khoj/routers/email.py index b1eb418e..f95777c8 100644 --- a/src/khoj/routers/email.py +++ b/src/khoj/routers/email.py @@ -42,7 +42,7 @@ async def send_welcome_email(name, email): r = resend.Emails.send( { - "from": "team@khoj.dev", + "sender": "team@khoj.dev", "to": email, "subject": f"{name}, four ways to use Khoj" if name else "Four ways to use Khoj", "html": html_content, @@ -64,7 +64,7 @@ def send_task_email(name, email, query, result, subject): r = resend.Emails.send( { - "from": "Khoj ", + "sender": "Khoj ", "to": email, "subject": f"✨ {subject}", "html": html_content,