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-links.ts

Kiran K5e24bf67bf9e
diff --git a/apps/web/lib/tolt/import-links.ts b/apps/web/lib/tolt/import-links.ts
index b566cb1d7b..2c00df5600 100644
--- a/apps/web/lib/tolt/import-links.ts
+++ b/apps/web/lib/tolt/import-links.ts
@@ -73,22 +73,16 @@ export async function importLinks({
continue;
}
- const linkCreated = await createPartnerLink({
+ await createPartnerLink({
workspace: workspace as WorkspaceProps,
program,
link,
partnerId,
userId,
});
-
- if (linkCreated?.key !== link.value) {
- console.log("linkCreated", linkCreated?.key, link.value);
- }
}
}
- await new Promise((resolve) => setTimeout(resolve, 2000));
-
processedBatches++;
startingAfter = links[links.length - 1].id;
}