mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-06 13:12:33 +02:00
WIP
This commit is contained in:
parent
927c0b43de
commit
c9c575e623
1 changed files with 0 additions and 4 deletions
|
@ -222,10 +222,6 @@ module.exports.statusPageSocketHandler = (socket) => {
|
||||||
log.debug("socket", "Delete groups that are not in the list");
|
log.debug("socket", "Delete groups that are not in the list");
|
||||||
const slots = groupIDList.map(() => "?").join(",");
|
const slots = groupIDList.map(() => "?").join(",");
|
||||||
|
|
||||||
if (slots.length === 0) {
|
|
||||||
throw new Error("You need to add at least one monitor to a group");
|
|
||||||
}
|
|
||||||
|
|
||||||
const data = [
|
const data = [
|
||||||
...groupIDList,
|
...groupIDList,
|
||||||
statusPage.id
|
statusPage.id
|
||||||
|
|
Loading…
Add table
Reference in a new issue