From 55e50d31ca976e1fea9f9430b56fa1a13649b226 Mon Sep 17 00:00:00 2001 From: John Costa Date: Tue, 1 Apr 2025 19:33:31 +0000 Subject: [PATCH] fix(validators): allowing location in event fields --- 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 72457e4..216fd25 100644 --- a/frontend/src/network/index.ts +++ b/frontend/src/network/index.ts @@ -66,7 +66,7 @@ const eventValidator = object({ EndDateTime: nullable(pipe(string())), Description: nullable(string()), LocationID: nullable(pipe(string(), uuid())), - Location: null_(), + Location: nullable(locationValidator), }); const locationDataType = object({