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.

make link nullable instead of nullish

Steven Tey5dc839429be5
diff --git a/apps/web/lib/zod/schemas/leads.ts b/apps/web/lib/zod/schemas/leads.ts
index 77fb74c646..b707373c6d 100644
--- a/apps/web/lib/zod/schemas/leads.ts
+++ b/apps/web/lib/zod/schemas/leads.ts
@@ -86,7 +86,7 @@ export const trackLeadResponseSchema = z.object({
programId: true,
tenantId: true,
externalId: true,
- }).nullish(),
+ }).nullable(),
customer: z.object({
name: z.string().nullable(),
email: z.string().nullable(),