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.

Update transform.ts

Steven Teybfec087af0cc
diff --git a/apps/web/lib/webhook/transform.ts b/apps/web/lib/webhook/transform.ts
index 1da7d8133c..d039dc1324 100644
--- a/apps/web/lib/webhook/transform.ts
+++ b/apps/web/lib/webhook/transform.ts
@@ -53,6 +53,7 @@ const transformWebhookCustomer = (customer: any) => {
...customer,
name: customer.name || customer.email || generateRandomName(),
externalId: customer.externalId || "",
+ country: undefined,
avatar:
customer.avatar ||
`https://api.dicebear.com/9.x/notionists/svg?seed=${customer.id}`,