The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.ts
Kiran K7db8e4cc83a9
diff --git a/apps/web/app/api/embed/referrals/links/[linkId]/route.ts b/apps/web/app/api/embed/referrals/links/[linkId]/route.tsindex f9050035c8..51df7ab647 100644--- a/apps/web/app/api/embed/referrals/links/[linkId]/route.ts+++ b/apps/web/app/api/embed/referrals/links/[linkId]/route.ts@@ -86,8 +86,6 @@ export const PATCH = withReferralsEmbedToken(updatedLink: processedLink,});- const updatedLink = ReferralsEmbedLinkSchema.parse(partnerLink);-- return NextResponse.json(updatedLink);+ return NextResponse.json(ReferralsEmbedLinkSchema.parse(partnerLink));},);