The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update leads.ts
Steven Tey4adbe2ec5fe1
diff --git a/apps/web/lib/zod/schemas/leads.ts b/apps/web/lib/zod/schemas/leads.tsindex a2e7fb94c3..28e51d89f1 100644--- a/apps/web/lib/zod/schemas/leads.ts+++ b/apps/web/lib/zod/schemas/leads.ts@@ -30,22 +30,22 @@ export const trackLeadRequestSchema = z.object({customerName: z.string().max(100)- .optional()+ .nullish().describe("Name of the customer in the client's app."),customerEmail: z.string().email().max(100)- .optional()+ .nullish().describe("Email of the customer in the client's app."),customerAvatar: z.string().max(100)- .optional()+ .nullish().describe("Avatar of the customer in the client's app."),metadata: z.record(z.unknown())- .optional()+ .nullish().describe("Additional metadata to be stored with the lead event"),});