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 Teyb629580286c1
diff --git a/apps/web/app/api/analytics/export/route.ts b/apps/web/app/api/analytics/export/route.tsindex f2a8463a5b..d0ea03a3fb 100644--- a/apps/web/app/api/analytics/export/route.ts+++ b/apps/web/app/api/analytics/export/route.ts@@ -119,8 +119,6 @@ export const GET = withWorkspace(zip.file(`${endpoint}.csv`, csvData);} else {- // skip clicks endpoint- if (endpoint === "clicks") return;// we're not fetching top URLs data if linkId is not definedif (endpoint === "top_urls" && !linkId) return;