Browse Source

fix possible race condition

pull/205/head
LouisLam 3 years ago
parent
commit
70e7945a66
  1. 2
      server/server.js

2
server/server.js

@ -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…
Cancel
Save