add middleware writeLog

This commit is contained in:
joseph le 2023-09-29 13:23:28 +07:00
parent b544f588a6
commit cb2cd65e13
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ export default class ErpsController {
?.split(":")[1] ?.split(":")[1]
?.replace("\r", "") ?.replace("\r", "")
.trim() !== "" && .trim() !== "" &&
SN !== "N/A" SN !== "N/A" && SN !== "NA" && SN.length>4
) { ) {
if (output.some((u) => u.SN === SN)) { if (output.some((u) => u.SN === SN)) {
output.map((u, index) => { output.map((u, index) => {