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 cleanup-partners.ts

Kiran Kffa5d8d80302
diff --git a/apps/web/lib/tolt/cleanup-partners.ts b/apps/web/lib/tolt/cleanup-partners.ts
index 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 program
export async function cleanupPartners({ programId }: { programId: string }) {
let hasMore = true;
let start = 0;