From ce322914370622660e77d5328501bc7984b1c54b Mon Sep 17 00:00:00 2001 From: John Costa Date: Wed, 7 May 2025 10:21:13 +0100 Subject: [PATCH] fix: allowing date created to be null --- frontend/src/network/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/network/index.ts b/frontend/src/network/index.ts index 03f3de2..8d60770 100644 --- a/frontend/src/network/index.ts +++ b/frontend/src/network/index.ts @@ -104,7 +104,7 @@ const contactValidator = strictObject({ const eventValidator = strictObject({ ID: pipe(string(), uuid()), - CreatedAt: pipe(string()), + CreatedAt: nullable(pipe(string())), Name: string(), StartDateTime: nullable(pipe(string())), EndDateTime: nullable(pipe(string())),