From 1d80cacf395a0f34c45949c9449704e4d80fbaeb Mon Sep 17 00:00:00 2001 From: Kiran K Date: Tue, 22 Oct 2024 10:09:30 +0530 Subject: [PATCH] make userId nullable --- apps/web/lib/zod/schemas/links.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts index a2246e26c1..81e6383b40 100644 --- a/apps/web/lib/zod/schemas/links.ts +++ b/apps/web/lib/zod/schemas/links.ts @@ -531,6 +531,7 @@ export const LinkSchema = z .describe("The UTM content of the short link."), userId: z .string() + .nullable() .describe("The user ID of the creator of the short link."), workspaceId: z.string().describe("The workspace ID of the short link."), clicks: z