From 6ccfa9717c37adff068980fad1beed9acb0b0930 Mon Sep 17 00:00:00 2001 From: joseph le Date: Tue, 17 Oct 2023 07:30:38 +0700 Subject: [PATCH] Update function check status for other system --- app/utils/sendStatusOtherSystem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/sendStatusOtherSystem.js b/app/utils/sendStatusOtherSystem.js index 9d5fe60..1f7c4ef 100644 --- a/app/utils/sendStatusOtherSystem.js +++ b/app/utils/sendStatusOtherSystem.js @@ -967,7 +967,7 @@ const checkMultipleRequest = async () => { // console.log("Response:", response.data.length); // console.log("Status:", response.status); - if (response.data === "" && response.data !== undefined) { + if (response.data !== "" && response.data !== undefined) { if (req.name !== "Auto import Disti") { logicCheck(req, response); } else { @@ -1041,7 +1041,7 @@ const checkMultipleRequest = async () => { // console.log("Response:", response.data.length); // console.log("Status:", response.status); - if (response.data === "" && response.data !== undefined) { + if (response.data !== "" && response.data !== undefined) { if (req.name !== "Auto import Disti") { logicCheck(req, response); } else {