This commit is contained in:
Swift
2024-02-23 11:03:28 +03:30
parent 873cd439bd
commit 4c60ef1c1b
2 changed files with 5 additions and 0 deletions
@@ -23,6 +23,7 @@ const serialChecker = (serial, type = 'guaranteeSerial', g = 1) => {
for (const row of exelFile) {
// eslint-disable-next-line eqeqeq
if ((row[1].toString()).toLowerCase() == lowerSerial) {
resolve(row[2]);
return; // Serial found, exit loop