mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 18:06:14 +03:00
fix possible race condition
This commit is contained in:
parent
b413427a37
commit
70e7945a66
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ let indexHTML = fs.readFileSync("./dist/index.html").toString();
|
|||
})();
|
||||
|
||||
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,
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue