The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
increase eventName max length
Steven Teye3104d4739b4
diff --git a/apps/web/lib/zod/schemas/leads.ts b/apps/web/lib/zod/schemas/leads.tsindex f7f85e2c56..a84b8e5604 100644--- a/apps/web/lib/zod/schemas/leads.ts+++ b/apps/web/lib/zod/schemas/leads.ts@@ -16,7 +16,7 @@ export const trackLeadRequestSchema = z.object({.string({ required_error: "eventName is required" }).trim().min(1, "eventName is required")- .max(50)+ .max(255).describe("The name of the event to track.").openapi({ example: "Sign up" }),externalId: zdiff --git a/apps/web/lib/zod/schemas/sales.ts b/apps/web/lib/zod/schemas/sales.tsindex ea087a033e..c4abffe991 100644--- a/apps/web/lib/zod/schemas/sales.ts+++ b/apps/web/lib/zod/schemas/sales.ts@@ -33,7 +33,7 @@ export const trackSaleRequestSchema = z.object({.describe("The payment processor via which the sale was made."),eventName: z.string()- .max(50)+ .max(255).optional().default("Purchase").describe(