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.

fix tests

Kiran K3e10f9e3a2b4
diff --git a/apps/web/lib/zod/schemas/clicks.ts b/apps/web/lib/zod/schemas/clicks.ts
index b3736a8340..0bcf4bf84f 100644
--- a/apps/web/lib/zod/schemas/clicks.ts
+++ b/apps/web/lib/zod/schemas/clicks.ts
@@ -54,7 +54,7 @@ export const clickEventSchemaTBEndpoint = z.object({
export const clickEventSchema = z.object({
id: z.string(),
- timestamp: z.date(),
+ timestamp: z.coerce.date(),
url: z.string(),
country: z.string(),
city: z.string(),