making required fields optional for Location Object

This commit is contained in:
Shibi Chakkaravarthy
2026-05-04 21:36:37 +05:30
parent 54d9508dc8
commit 5326235183
+1 -1
View File
@@ -30,7 +30,7 @@ const schema = new Schema({
},
event: {
type: String,
required: true,
required: false,
},
activity: {
type: String,