This commit is contained in:
Louis Lam 2024-10-29 18:43:58 +08:00
parent 927c0b43de
commit c9c575e623

View file

@ -222,10 +222,6 @@ module.exports.statusPageSocketHandler = (socket) => {
log.debug("socket", "Delete groups that are not in the list");
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 = [
...groupIDList,
statusPage.id