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 import-referrals.ts

Kiran Kffda9d471553
diff --git a/apps/web/lib/tolt/import-referrals.ts b/apps/web/lib/tolt/import-referrals.ts
index 330884bd5b..a12996eb45 100644
--- a/apps/web/lib/tolt/import-referrals.ts
+++ b/apps/web/lib/tolt/import-referrals.ts
@@ -55,11 +55,6 @@ export async function importReferrals({
},
});
- if (partners.length === 0) {
- console.log("No partners found for customers, skipping...");
- return;
- }
-
const programEnrollments = await prisma.programEnrollment.findMany({
where: {
partnerId: {