Update function check status for other system

This commit is contained in:
joseph le 2023-10-12 08:26:29 +07:00
parent 9c5b8b0cc5
commit 3cefa60c31
1 changed files with 3 additions and 3 deletions

View File

@ -1071,9 +1071,9 @@ const checkMultipleRequest = async () => {
client.messages.send(params);
// client.messages.send(params1);
allResponse += report
.sort((a, b) => a.group.localeCompare(b.group))
.join("\n");
report.map((r)=>{
allResponse += JSON.stringify(r, null, 2)
})
fs.writeFileSync("/home/logs/logSystems.txt", allResponse);
console.log(sortArray(report));