From f81046a95a1db56e94f886f03a83dc3bf71bed90 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 11 Dec 2025 17:10:59 +0530 Subject: [PATCH] Description not required changed --- app/models/product.model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/product.model.js b/app/models/product.model.js index 0ad0664..4af228c 100644 --- a/app/models/product.model.js +++ b/app/models/product.model.js @@ -30,7 +30,7 @@ module.exports = (sequelize, DataTypes) => { allowNull: true, validate: { len: { - args: [1, 1000], + args: [0, 1000], msg: "HS Description is too long. Maximum allowed length is 1000 characters." }} },