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 expiredUrl bug events

Steven Teybc22df743c81
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index 3ea0b53670..532f9c251e 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -614,6 +614,7 @@ export const getLinksQuerySchemaExtended = getLinksQuerySchema.merge(
export const linkEventSchema = LinkSchema.extend({
// here we use string because url can be empty
url: z.string(),
+ expiredUrl: z.string().nullable(),
// coerce boolean fields
archived: z.coerce.boolean(),
doIndex: z.coerce.boolean(),