mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 05:40:17 +00:00
Rname from parameter to sender in resend call
This commit is contained in:
@@ -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 <khoj@khoj.dev>",
|
||||
"sender": "Khoj <khoj@khoj.dev>",
|
||||
"to": email,
|
||||
"subject": f"✨ {subject}",
|
||||
"html": html_content,
|
||||
|
||||
Reference in New Issue
Block a user