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.

import-partners

Steven Teyf0789910b9c1
diff --git a/apps/web/scripts/tella/upload-affiliates.ts b/apps/web/scripts/partners/import-partners.ts
similarity index 96%
rename from apps/web/scripts/tella/upload-affiliates.ts
rename to apps/web/scripts/partners/import-partners.ts
index 1f6508c2a0..f8eaff7ea6 100644
--- a/apps/web/scripts/tella/upload-affiliates.ts
+++ b/apps/web/scripts/partners/import-partners.ts
@@ -10,7 +10,7 @@ const userId = "xxx";
const partnersToImport: { email: string; slug: string }[] = [];
async function main() {
- Papa.parse(fs.createReadStream("tella-import-affiliates.csv", "utf-8"), {
+ Papa.parse(fs.createReadStream("affiliates.csv", "utf-8"), {
header: true,
skipEmptyLines: true,
step: (result: { data: { email: string; slug: string } }) => {