The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
handle deleted customer
Steven Tey84d123432737
diff --git a/apps/web/lib/analytics/get-events.ts b/apps/web/lib/analytics/get-events.tsindex 9840577848..f1519fdd68 100644--- a/apps/web/lib/analytics/get-events.ts+++ b/apps/web/lib/analytics/get-events.ts@@ -134,6 +134,8 @@ export const getEvents = async (params: EventsFilters) => {name: "Deleted Customer",email: "[email protected]",avatar: `https://api.dicebear.com/9.x/micah/svg?seed=${evt.customer_id}`,+ externalId: evt.customer_id,+ createdAt: new Date("1970-01-01"),},...(evt.event === "sale"? {