This commit is contained in:
Sibunnayak 2024-10-18 16:19:48 +05:30
parent 3bfc1779c5
commit 91f0c75bdf

View File

@ -11,7 +11,6 @@ const productSchema = new Schema(
},
name: {
type: String,
maxLength: [35, "name cannot exceed 25 characters"],
required: [true, "Please Enter product Name"],
trim: true,
},