mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Fix: Check for notified days smaller than target
This commit is contained in:
parent
2dedc1cfbd
commit
f32fcb204f
1 changed files with 1 additions and 1 deletions
|
@ -1233,7 +1233,7 @@ class Monitor extends BeanModel {
|
|||
|
||||
if (notificationList.length > 0) {
|
||||
|
||||
let row = await R.getRow("SELECT * FROM notification_sent_history WHERE type = ? AND monitor_id = ? AND days = ?", [
|
||||
let row = await R.getRow("SELECT * FROM notification_sent_history WHERE type = ? AND monitor_id = ? AND days <= ?", [
|
||||
"certificate",
|
||||
this.id,
|
||||
targetDays,
|
||||
|
|
Loading…
Reference in a new issue