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 unused partner deletion logic in Tolt importer

Kiran Kfd3f288f328a
diff --git a/apps/web/lib/tolt/cleanup-partners.ts b/apps/web/lib/tolt/cleanup-partners.ts
index 29b5406578..c752c50ac7 100644
--- a/apps/web/lib/tolt/cleanup-partners.ts
+++ b/apps/web/lib/tolt/cleanup-partners.ts
@@ -57,14 +57,6 @@ export async function cleanupPartners({ programId }: { programId: string }) {
},
},
});
-
- await tx.partner.deleteMany({
- where: {
- id: {
- in: partnerIdsToRemove,
- },
- },
- });
});
}