From a174746500cc3ff4de239171ecadb0cdd02c42cc Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 2 Aug 2023 23:35:09 +0100 Subject: [PATCH] fix: allow for null values for event URLs --- src/content/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/config.ts b/src/content/config.ts index 82637f0e..8f5153f2 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -29,7 +29,7 @@ const talkCollection = defineCollection({ location: z.string().optional(), name: z.string(), online: z.boolean().optional(), - url: z.string().optional(), + url: z.string().or(z.null()).optional(), }) ), speakerdeck: z