mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +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(
|
r = resend.Emails.send(
|
||||||
{
|
{
|
||||||
"from": "team@khoj.dev",
|
"sender": "team@khoj.dev",
|
||||||
"to": email,
|
"to": email,
|
||||||
"subject": f"{name}, four ways to use Khoj" if name else "Four ways to use Khoj",
|
"subject": f"{name}, four ways to use Khoj" if name else "Four ways to use Khoj",
|
||||||
"html": html_content,
|
"html": html_content,
|
||||||
@@ -64,7 +64,7 @@ def send_task_email(name, email, query, result, subject):
|
|||||||
|
|
||||||
r = resend.Emails.send(
|
r = resend.Emails.send(
|
||||||
{
|
{
|
||||||
"from": "Khoj <khoj@khoj.dev>",
|
"sender": "Khoj <khoj@khoj.dev>",
|
||||||
"to": email,
|
"to": email,
|
||||||
"subject": f"✨ {subject}",
|
"subject": f"✨ {subject}",
|
||||||
"html": html_content,
|
"html": html_content,
|
||||||
|
|||||||
Reference in New Issue
Block a user