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