The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix transformWebhookCustomer
Steven Teyb6829774a9f5
diff --git a/apps/web/lib/webhook/transform.ts b/apps/web/lib/webhook/transform.tsindex 5d8531eaa1..1da7d8133c 100644--- a/apps/web/lib/webhook/transform.ts+++ b/apps/web/lib/webhook/transform.ts@@ -52,7 +52,7 @@ const transformWebhookCustomer = (customer: any) => {return {...customer,name: customer.name || customer.email || generateRandomName(),- country: undefined,+ externalId: customer.externalId || "",avatar:customer.avatar ||`https://api.dicebear.com/9.x/notionists/svg?seed=${customer.id}`,