From b9aec0abd16a001409788fb405efda0a9fc0a4d4 Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 11 Oct 2023 15:45:43 +0700 Subject: [PATCH] Create function check status for other system --- app/utils/sendStatusOtherSystem.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/utils/sendStatusOtherSystem.js b/app/utils/sendStatusOtherSystem.js index 292898a..f6643a8 100644 --- a/app/utils/sendStatusOtherSystem.js +++ b/app/utils/sendStatusOtherSystem.js @@ -931,6 +931,8 @@ const checkMultipleRequest = async () => { if (stdout !== "") { allResponse+=JSON.stringify(req.name+"\n"+stdout) console.log("stdout ", stdout) + console.log("req.name ", req.name) + console.log(req.name==="Perthmint") if(req.name==="Perthmint"){ if((stdout.toString().split("true").length-1)>1){ report.push({