mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
style: fix formatting
This commit is contained in:
parent
b4fabbb00f
commit
d1677300a4
1 changed files with 8 additions and 8 deletions
|
@ -987,10 +987,10 @@ let needSetup = false;
|
|||
await startMonitor(socket.userID, monitorID);
|
||||
await server.sendUpdateMonitorIntoList(socket, monitorID);
|
||||
|
||||
const childrenIDs = await Monitor.getAllChildrenIDs(monitorID);
|
||||
for (let childID of childrenIDs) {
|
||||
await server.sendUpdateMonitorIntoList(socket, childID);
|
||||
}
|
||||
const childrenIDs = await Monitor.getAllChildrenIDs(monitorID);
|
||||
for (let childID of childrenIDs) {
|
||||
await server.sendUpdateMonitorIntoList(socket, childID);
|
||||
}
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
|
@ -1012,10 +1012,10 @@ let needSetup = false;
|
|||
await pauseMonitor(socket.userID, monitorID);
|
||||
await server.sendUpdateMonitorIntoList(socket, monitorID);
|
||||
|
||||
const childrenIDs = await Monitor.getAllChildrenIDs(monitorID);
|
||||
for (let childID of childrenIDs) {
|
||||
await server.sendUpdateMonitorIntoList(socket, childID);
|
||||
}
|
||||
const childrenIDs = await Monitor.getAllChildrenIDs(monitorID);
|
||||
for (let childID of childrenIDs) {
|
||||
await server.sendUpdateMonitorIntoList(socket, childID);
|
||||
}
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
|
|
Loading…
Reference in a new issue