Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update route.ts

Steven Teye9e79f357d50
diff --git a/apps/web/app/api/links/[linkId]/route.ts b/apps/web/app/api/links/[linkId]/route.ts
index 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