The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
make userId nullable
Steven Tey41b7148a03bd
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.tsindex 5788828faf..145807f6ea 100644--- a/apps/web/lib/zod/schemas/links.ts+++ b/apps/web/lib/zod/schemas/links.ts@@ -565,4 +565,6 @@ export const linkEventSchema = LinkSchema.extend({updatedAt: z.coerce.date(),lastClicked: z.coerce.date(),expiresAt: z.coerce.date(),+ // userId can be null+ userId: z.string().nullable(),});