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
Steven Teye9e79f357d50
diff --git a/apps/web/app/api/links/[linkId]/route.ts b/apps/web/app/api/links/[linkId]/route.tsindex e32e40c524..4eb988136b 100644--- a/apps/web/app/api/links/[linkId]/route.ts+++ b/apps/web/app/api/links/[linkId]/route.ts@@ -42,9 +42,7 @@ export const GET = withWorkspace(async ({ headers, link }) => {}),});- return NextResponse.json(LinkSchemaExtended.parse(response), {- headers,- });+ return NextResponse.json(response, { headers });});// PUT /api/links/[linkId] – update a link