The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update send-via-resend.ts
Steven Tey81adb3da37e5
diff --git a/packages/email/src/send-via-resend.ts b/packages/email/src/send-via-resend.tsindex 9d1f439c64..416b7d3bc7 100644--- a/packages/email/src/send-via-resend.ts+++ b/packages/email/src/send-via-resend.ts@@ -29,7 +29,7 @@ const resendEmailForOptions = (const baseOptions = {to: isProdEnv ? to : "[email protected]",from: from || VARIANT_TO_FROM_MAP[variant],- subject: `${subject}${!isProdEnv && gitBranch ? ` [${gitBranch}]` : ""}`,+ subject: `${!isProdEnv && gitBranch ? `[${gitBranch}] ` : ""}${subject}`,bcc,// if replyTo is set to "[email protected]", don't set replyTo// else set it to the value of replyTo or fallback to [email protected]