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.

Update links.ts

Kiran K0e4d78e5eebb
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index 6c971da502..1d530d354d 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -171,7 +171,8 @@ export const createLinkBodySchema = z.object({
.openapi({ example: "123456" }),
tenantId: z
.string()
- .optional()
+ .max(255)
+ .nullish()
.describe(
"The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant.",
),