From 50b2c8234c50757d5c3b6b12de8796655736bef3 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 12 Nov 2025 11:59:41 +0530 Subject: [PATCH] HS Code validation modified --- app/controllers/products.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/products.controller.js b/app/controllers/products.controller.js index a077e49..566edf2 100644 --- a/app/controllers/products.controller.js +++ b/app/controllers/products.controller.js @@ -328,7 +328,7 @@ exports.uploadProductsFromCSV = async (req, res) => { continue; } - if (hsCode.length !== 10) { + if (hsCode.length > 12) { errors.push({ row: index + 1, error: "HS Code must be 10 digits" }); continue; }