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 Tey172f0f16fa25
diff --git a/apps/web/app/api/cron/clicks/route.ts b/apps/web/app/api/cron/clicks/route.ts
index be5f13637d..a2d0799c61 100644
--- a/apps/web/app/api/cron/clicks/route.ts
+++ b/apps/web/app/api/cron/clicks/route.ts
@@ -24,6 +24,8 @@ export async function GET(req: Request) {
clicks: number;
}[];
+ console.log(data);
+
await Promise.all(
data.map(({ link_id: id, clicks }) =>
updateLinkOrDomain({