From 53262351833ae99916fdc81df0f98c1722da5d7a Mon Sep 17 00:00:00 2001 From: Shibi Chakkaravarthy Date: Mon, 4 May 2026 21:36:37 +0530 Subject: [PATCH] making required fields optional for Location Object --- models/Location/model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Location/model.js b/models/Location/model.js index 9a3ca55..04dfabc 100644 --- a/models/Location/model.js +++ b/models/Location/model.js @@ -30,7 +30,7 @@ const schema = new Schema({ }, event: { type: String, - required: true, + required: false, }, activity: { type: String,