The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update cleanup-partners.ts
Kiran Kffa5d8d80302
diff --git a/apps/web/lib/tolt/cleanup-partners.ts b/apps/web/lib/tolt/cleanup-partners.tsindex 3d3a474710..29b5406578 100644--- a/apps/web/lib/tolt/cleanup-partners.ts+++ b/apps/web/lib/tolt/cleanup-partners.ts@@ -3,6 +3,7 @@ import { toltImporter } from "./importer";const PARTNER_IDS_PER_BATCH = 100;+// Remove partners that have no leads from the programexport async function cleanupPartners({ programId }: { programId: string }) {let hasMore = true;let start = 0;