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.

fix aggregate-clicks

Steven Tey8dc5bebf01e7
diff --git a/apps/web/app/(ee)/api/cron/aggregate-clicks/route.ts b/apps/web/app/(ee)/api/cron/aggregate-clicks/route.ts
index 5eb58f429a..c3fb3d6d53 100644
--- a/apps/web/app/(ee)/api/cron/aggregate-clicks/route.ts
+++ b/apps/web/app/(ee)/api/cron/aggregate-clicks/route.ts
@@ -74,9 +74,8 @@ export async function GET(req: Request) {
});
if (!links.length) {
- return NextResponse.json({
- message: "No links found. Skipping...",
- });
+ console.log("No links found for program", { programId });
+ continue;
}
for (const { id: linkId, programId, partnerId } of links) {