mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Compare commits
11 commits
5486899b9e
...
354a6bd47a
Author | SHA1 | Date | |
---|---|---|---|
|
354a6bd47a | ||
|
10f3f7fd1e | ||
|
469b54ed6b | ||
|
9c1941433f | ||
|
8c3a52e64c | ||
|
090ed0b61b | ||
|
0059935d54 | ||
|
81c8cc6e72 | ||
|
f1f8004a07 | ||
|
e042162009 | ||
|
88df129d90 |
2 changed files with 7 additions and 13 deletions
|
@ -220,17 +220,13 @@ module.exports.statusPageSocketHandler = (socket) => {
|
|||
|
||||
// Delete groups that are not in the list
|
||||
log.debug("socket", "Delete groups that are not in the list");
|
||||
if (groupIDList.length === 0) {
|
||||
await R.exec("DELETE FROM `group` WHERE status_page_id = ?", [ statusPage.id ]);
|
||||
} else {
|
||||
const slots = groupIDList.map(() => "?").join(",");
|
||||
const slots = groupIDList.map(() => "?").join(",");
|
||||
|
||||
const data = [
|
||||
...groupIDList,
|
||||
statusPage.id
|
||||
];
|
||||
await R.exec(`DELETE FROM \`group\` WHERE id NOT IN (${slots}) AND status_page_id = ?`, data);
|
||||
}
|
||||
const data = [
|
||||
...groupIDList,
|
||||
statusPage.id
|
||||
];
|
||||
await R.exec(`DELETE FROM \`group\` WHERE id NOT IN (${slots}) AND status_page_id = ?`, data);
|
||||
|
||||
const server = UptimeKumaServer.getInstance();
|
||||
|
||||
|
|
|
@ -785,7 +785,5 @@
|
|||
"-year": "-연도",
|
||||
"Json Query Expression": "Json 쿼리 표현식",
|
||||
"Host URL": "호스트 URL",
|
||||
"locally configured mail transfer agent": "로컬로 구성된 메일 전송 에이전트",
|
||||
"ignoreTLSErrorGeneral": "연결에 TLS/SSL 오류 무시하기",
|
||||
"ignoredTLSError": "TLS/SSL 오류가 무시되었습니다"
|
||||
"locally configured mail transfer agent": "로컬로 구성된 메일 전송 에이전트"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue