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