mirror of https://github.com/louislam/uptime-kuma
fix possible race condition
parent
b413427a37
commit
70e7945a66
|
@ -589,7 +589,7 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
|
||||||
})();
|
})();
|
||||||
|
|
||||||
async function updateMonitorNotification(monitorID, notificationIDList) {
|
async function updateMonitorNotification(monitorID, notificationIDList) {
|
||||||
R.exec("DELETE FROM monitor_notification WHERE monitor_id = ? ", [
|
await R.exec("DELETE FROM monitor_notification WHERE monitor_id = ? ", [
|
||||||
monitorID,
|
monitorID,
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue