The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update reattribute-customer.ts
Steven Teye3bc4fd339e5
diff --git a/apps/web/lib/api/customers/reattribute-customer.ts b/apps/web/lib/api/customers/reattribute-customer.tsindex 937420f3c0..273babfb06 100644--- a/apps/web/lib/api/customers/reattribute-customer.ts+++ b/apps/web/lib/api/customers/reattribute-customer.ts@@ -133,9 +133,11 @@ export async function recreateCustomerForReattribution({externalId: `reattributed_${nanoid(32)}`,stripeCustomerId: null,linkId: null,+ clickId: null,+ clickedAt: null,programId: null,partnerId: null,- clickId: null,+ sales: 0,saleAmount: 0,firstSaleAt: null,subscriptionCanceledAt: null,