Updated the email to say Trigger.dev

This commit is contained in:
Matt Aitken
2022-12-07 13:41:57 +00:00
parent 7dda7950e2
commit 532be6141e
+3 -3
View File
@@ -16,7 +16,7 @@ export async function sendEmail(
body: string
) {
const data = {
from: `API Hero <${env.FROM_EMAIL}>`,
from: `Trigger.dev <${env.FROM_EMAIL}>`,
to: emailAddress,
subject,
html: body,
@@ -27,9 +27,9 @@ export async function sendEmail(
export async function sendWelcomeEmail(user: User) {
const data = {
from: `API Hero <${env.FROM_EMAIL}>`,
from: `Trigger.dev <${env.FROM_EMAIL}>`,
to: user.email,
subject: "🤝 Welcome to API Hero!",
subject: "🤝 Welcome to Trigger.dev!",
template: "welcome_email_test1",
"v:greeting": user.name ?? "there",
};