Security upgrades

This commit is contained in:
2020-07-15 19:54:48 +02:00
parent 59cc6c54cd
commit ad8ed283d2
3164 changed files with 408897 additions and 28 deletions

View File

@@ -16,7 +16,10 @@ const dishSchema = mongoose.Schema({
type: Number,
required: true,
},
notes: String,
notes: {
type: String,
maxlength: 128,
},
imgUrl: {
type: String,
required: true,