The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
simplify email
Kiran Kd673d0a4670d
diff --git a/apps/web/app/(ee)/api/stripe/integration/webhook/coupon-deleted.ts b/apps/web/app/(ee)/api/stripe/integration/webhook/coupon-deleted.tsindex d20e3230fb..73d1a266ea 100644--- a/apps/web/app/(ee)/api/stripe/integration/webhook/coupon-deleted.ts+++ b/apps/web/app/(ee)/api/stripe/integration/webhook/coupon-deleted.ts@@ -119,9 +119,6 @@ export async function couponDeleted(event: Stripe.Event) {email: user.email!,react: DiscountDeleted({email: user.email!,- workspace: {- slug: workspace.slug,- },coupon: {id: coupon.id,},diff --git a/packages/email/src/templates/discount-deleted.tsx b/packages/email/src/templates/discount-deleted.tsxindex 6128f1916b..31a31f2006 100644--- a/packages/email/src/templates/discount-deleted.tsx+++ b/packages/email/src/templates/discount-deleted.tsx@@ -6,7 +6,6 @@ import {Heading,Html,Img,- Link,Preview,Section,Tailwind,@@ -16,17 +15,11 @@ import { Footer } from "../components/footer";export default function DiscountDeleted({email = "[email protected]",- workspace = {- slug: "acme",- },coupon = {id: "jMT0WJUD",},}: {email: string;- workspace: {- slug: string;- };coupon: {id: string;};@@ -56,15 +49,6 @@ export default function DiscountDeleted({partners who were using this discount.</Text>- <Section className="mb-8 mt-8">- <Link- className="rounded-lg bg-black px-6 py-3 text-center text-[12px] font-semibold text-white no-underline"- href={`https://app.dub.co/${workspace.slug}/program/discounts`}- >- Manage discounts- </Link>- </Section>-<Footer email={email} /></Container></Body>