remove an unnecessary line from notifications/email.js

merge-requests/521/merge^2
Moe 2024-10-05 12:28:49 -07:00
parent 0269888da5
commit 558272aecc
1 changed files with 0 additions and 1 deletions

View File

@ -116,7 +116,6 @@ module.exports = function(s,config,lang,getSnapshot){
detector_mail_timeout = parseFloat(monitorConfig.details.detector_mail_timeout) * 1000 * 60;
}
s.group[d.ke].activeMonitors[d.id].detector_mail = setTimeout(function(){
clearTimeout(s.group[d.ke].activeMonitors[d.id].detector_mail);
s.group[d.ke].activeMonitors[d.id].detector_mail = null
},detector_mail_timeout);
const sendMail = function(files){