Security upgrades
This commit is contained in:
@@ -16,7 +16,10 @@ const dishSchema = mongoose.Schema({
|
||||
type: Number,
|
||||
required: true,
|
||||
},
|
||||
notes: String,
|
||||
notes: {
|
||||
type: String,
|
||||
maxlength: 128,
|
||||
},
|
||||
imgUrl: {
|
||||
type: String,
|
||||
required: true,
|
||||
|
||||
Reference in New Issue
Block a user