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

Steven Teyf7c825c00e41
diff --git a/apps/web/lib/zod/schemas/analytics.ts b/apps/web/lib/zod/schemas/analytics.ts
index ff7deccd2e..78b79e0c73 100644
--- a/apps/web/lib/zod/schemas/analytics.ts
+++ b/apps/web/lib/zod/schemas/analytics.ts
@@ -193,7 +193,7 @@ export const eventsFilterTB = analyticsFilterTB
.and(
z.object({
offset: z.coerce.number().default(0),
- limit: z.coerce.number().default(50),
+ limit: z.coerce.number().default(PAGINATION_LIMIT),
order: z.enum(["asc", "desc"]).default("desc"),
sortBy: z.enum(["timestamp", "amount"]).default("timestamp"),
}),