From 91f0c75bdff0650b3f7d1aa80f8fb75817d6d97c Mon Sep 17 00:00:00 2001 From: Sibunnayak Date: Fri, 18 Oct 2024 16:19:48 +0530 Subject: [PATCH] update --- resources/Products/ProductModel.js | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/Products/ProductModel.js b/resources/Products/ProductModel.js index 895925c..81b28ee 100644 --- a/resources/Products/ProductModel.js +++ b/resources/Products/ProductModel.js @@ -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, },