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 analytics.ts

Kiran Kf8996cc053f0
diff --git a/apps/web/lib/zod/schemas/analytics.ts b/apps/web/lib/zod/schemas/analytics.ts
index 07c68fd26a..23275441b0 100644
--- a/apps/web/lib/zod/schemas/analytics.ts
+++ b/apps/web/lib/zod/schemas/analytics.ts
@@ -86,6 +86,12 @@ export const analyticsQuerySchema = z
.describe(
"This is the ID of the link in the your database. Must be prefixed with 'ext_' when passed as a query parameter.",
),
+ tenantId: z
+ .string()
+ .optional()
+ .describe(
+ "The ID of the tenant that created the link inside your system.",
+ ),
interval: z
.enum(intervals)
.optional()