The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update import-partners.ts
Kiran Kd244a44faad2
diff --git a/apps/web/lib/partnerstack/import-partners.ts b/apps/web/lib/partnerstack/import-partners.tsindex 3a0017425f..5cd84e3c2b 100644--- a/apps/web/lib/partnerstack/import-partners.ts+++ b/apps/web/lib/partnerstack/import-partners.ts@@ -136,7 +136,7 @@ async function createPartner({});// PS doesn't return the partner email address in the customers response- // so we need to update keep a map of partner_key (PS) -> partner_id (Dub)+ // so we need to keep a map of partner_key (PS) -> partner_id (Dub)// and use it to identify the partner in the customers responseawait redis.hset(`${PARTNER_IDS_KEY_PREFIX}:${program.id}`, {[partner.key]: partnerId,