The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
import-partners
Steven Teyf0789910b9c1
diff --git a/apps/web/scripts/tella/upload-affiliates.ts b/apps/web/scripts/partners/import-partners.tssimilarity index 96%rename from apps/web/scripts/tella/upload-affiliates.tsrename to apps/web/scripts/partners/import-partners.tsindex 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 } }) => {