validation Bug fixed

This commit is contained in:
unknown 2025-11-19 14:25:34 +05:30
parent 5dc4c953aa
commit ba18b4378f
2 changed files with 693 additions and 371 deletions

File diff suppressed because it is too large Load Diff

View File

@ -328,7 +328,7 @@ exports.uploadProductsFromCSV = async (req, res) => {
continue;
}
if (hsCode.length > 12) {
if (hsCode.length > 10) {
errors.push({ row: index + 1, error: "HS Code must be 10 digits" });
continue;
}