making required fields optional for Location Object
This commit is contained in:
@@ -30,7 +30,7 @@ const schema = new Schema({
|
||||
},
|
||||
event: {
|
||||
type: String,
|
||||
required: true,
|
||||
required: false,
|
||||
},
|
||||
activity: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user