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.

Types fix

Tim Wilson67c1519e83ed
diff --git a/apps/web/lib/zod/schemas/analytics.ts b/apps/web/lib/zod/schemas/analytics.ts
index 695d4d8e29..6d0f866c47 100644
--- a/apps/web/lib/zod/schemas/analytics.ts
+++ b/apps/web/lib/zod/schemas/analytics.ts
@@ -283,7 +283,7 @@ export const analyticsFilterTB = z
);
export const eventsFilterTB = analyticsFilterTB
- .omit({ granularity: true, timezone: true, page: true })
+ .omit({ granularity: true, timezone: true, page: true, sortBy: true })
.and(
z.object({
offset: z.coerce.number().default(0),