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.

pause import flow

Steven Teyf1bce8206fc2
diff --git a/apps/web/lib/rewardful/import-affiliates.ts b/apps/web/lib/rewardful/import-affiliates.ts
index 34f51663ae..6ae1fc3134 100644
--- a/apps/web/lib/rewardful/import-affiliates.ts
+++ b/apps/web/lib/rewardful/import-affiliates.ts
@@ -44,6 +44,8 @@ export async function importAffiliates({
},
});
+ return;
+
while (hasMoreAffiliates && processedBatches < MAX_BATCHES) {
const affiliates = await rewardfulApi.listAffiliates({
campaignId,