Update function check status for other system

This commit is contained in:
joseph le 2023-10-12 13:41:55 +07:00
parent 93164fbf35
commit 63100fb113
1 changed files with 3 additions and 2 deletions

View File

@ -940,6 +940,7 @@ const checkMultipleRequest = async () => {
return data
};
const promises = requests.map(async (req, index) => {
if (req.method === "POST") {
await axios
@ -1085,7 +1086,7 @@ const checkMultipleRequest = async () => {
let groupName = sortArray(report)[0]
?.group;
let no = 0;
content += "||**" + groupName + "**|||\n";
content += "||:high_voltage:**" + groupName + "**|||\n";
sortArray(report).map((u, index) => {
no += 1;
if (u.group === groupName) {
@ -1094,7 +1095,7 @@ const checkMultipleRequest = async () => {
} else {
no = 1;
groupName = u.group;
content += "||**" + groupName + "**|||\n";
content += "||:high_voltage:**" + groupName + "**|||\n";
content +=
"|" + no + "|" + u.name + "|**" + time + "**|" + u.status + "|\n";
}