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 K38f6cb7038cc
diff --git a/apps/web/lib/tolt/cleanup-partners.ts b/apps/web/lib/tolt/cleanup-partners.ts
index b608e1182e..de2a97e6b3 100644
--- a/apps/web/lib/tolt/cleanup-partners.ts
+++ b/apps/web/lib/tolt/cleanup-partners.ts
@@ -65,6 +65,9 @@ export async function cleanupPartners({ programId }: { programId: string }) {
partnerId: {
in: partnerIdsToRemove,
},
+ programId: {
+ not: programId,
+ },
},
select: {
partnerId: true,