Skip to content

Commit 16f4c11

Browse files
committed
console: remove hardcoded emails
1 parent 9e69f73 commit 16f4c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapps/shared/src/email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function sendEmail<P extends UnsubscribeLinkProps>(
8181
const replyTo =
8282
template.replyTo || (isMarketingEmail ? env.EMAIL_MARKETING_REPLY_TO : env.EMAIL_TRANSACTIONAL_REPLY_TO);
8383

84-
const domain = getDomainFromEmail(from);
84+
const domain = getDomainFromEmail(from!);
8585

8686
// const scheduledAt = template.scheduleAt ? template.scheduleAt(new Date()) : undefined;
8787

0 commit comments

Comments
 (0)