Merge branch 'master' of bitbucket.org:jubilian/fcsc_ipi_backend
This commit is contained in:
commit
f6c82b253f
File diff suppressed because it is too large
Load Diff
@ -328,7 +328,7 @@ exports.uploadProductsFromCSV = async (req, res) => {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hsCode.length > 12) {
|
if (hsCode.length > 10) {
|
||||||
errors.push({ row: index + 1, error: "HS Code must be 10 digits" });
|
errors.push({ row: index + 1, error: "HS Code must be 10 digits" });
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user