The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Cleanup
Kiran K56d786259051
diff --git a/apps/web/app/api/links/route.ts b/apps/web/app/api/links/route.tsindex 2b1761f387..8686db793e 100644--- a/apps/web/app/api/links/route.ts+++ b/apps/web/app/api/links/route.ts@@ -65,13 +65,13 @@ export const POST = withAuth(});}- // await qstash.publishJSON({- // url: `${APP_DOMAIN_WITH_NGROK}/api/cron/links/event`,- // body: {- // linkId: response.id,- // type: "create",- // },- // });+ await qstash.publishJSON({+ url: `${APP_DOMAIN_WITH_NGROK}/api/cron/links/event`,+ body: {+ linkId: response.id,+ type: "create",+ },+ });return NextResponse.json(response, { headers });} catch (err) {