Update function check status for other system
This commit is contained in:
parent
93164fbf35
commit
63100fb113
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue