mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Rname from parameter to sender in resend call
This commit is contained in:
parent
fbd76f8ebe
commit
7ae00832bd
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue