The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update UpgradeEmail
Steven Tey59cf0166840b
diff --git a/apps/web/app/api/stripe/webhook/checkout-session-completed.ts b/apps/web/app/api/stripe/webhook/checkout-session-completed.tsindex 91e278400c..ee614823d9 100644--- a/apps/web/app/api/stripe/webhook/checkout-session-completed.ts+++ b/apps/web/app/api/stripe/webhook/checkout-session-completed.ts@@ -103,7 +103,7 @@ export async function checkoutSessionCompleted(event: Stripe.Event) {sendEmail({email: user.email as string,replyTo: "[email protected]",- subject: `Thank you for upgrading to Dub.co ${plan.name}!`,+ subject: `Thank you for upgrading to Dub ${plan.name}!`,react: UpgradeEmail({name: user.name,email: user.email as string,diff --git a/packages/email/src/templates/upgrade-email.tsx b/packages/email/src/templates/upgrade-email.tsxindex 33ce8ca77d..00b70554cc 100644--- a/packages/email/src/templates/upgrade-email.tsx+++ b/packages/email/src/templates/upgrade-email.tsx@@ -48,20 +48,12 @@ export function UpgradeEmail({Hey{name && ` ${name}`}!</Text><Text className="text-sm leading-6 text-black">- My name is Steven, and I'm the founder of Dub. I wanted to- personally reach out to thank you for upgrading to{" "}- <strong>Dub {plan}</strong>!+ My name is Steven, and I'm the founder of Dub.</Text><Text className="text-sm leading-6 text-black">- As you might already know, we are fully{" "}- <Link- href="https://d.to/github"- className="font-medium text-blue-600 no-underline"- >- open-source- </Link>{" "}- business. Your support means the world to us and helps us continue- to build and improve Dub.+ I wanted to personally reach out to thank you for upgrading to{" "}+ <strong>Dub {plan}</strong>! Your support means the world to us+ and helps us continue to build and improve Dub.</Text><Text className="text-sm leading-6 text-black">On the {plan} plan, you now have access to: