update
This commit is contained in:
parent
3bfc1779c5
commit
91f0c75bdf
@ -11,7 +11,6 @@ const productSchema = new Schema(
|
|||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
maxLength: [35, "name cannot exceed 25 characters"],
|
|
||||||
required: [true, "Please Enter product Name"],
|
required: [true, "Please Enter product Name"],
|
||||||
trim: true,
|
trim: true,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user