From dbe73bd6ae7b2227be6573330c51d358abb0ee7f Mon Sep 17 00:00:00 2001 From: tombii Date: Wed, 15 Mar 2023 08:00:28 +0100 Subject: [PATCH] Update monitor.js (#2929) Language --- server/model/monitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 40c2e152..1e011c5a 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1265,7 +1265,7 @@ class Monitor extends BeanModel { for (let notification of notificationList) { try { log.debug("monitor", "Sending to " + notification.name); - await Notification.send(JSON.parse(notification.config), `[${this.name}][${this.url}] Certificate will be expired in ${daysRemaining} days`); + await Notification.send(JSON.parse(notification.config), `[${this.name}][${this.url}] Certificate will expire in ${daysRemaining} days`); sent = true; } catch (e) { log.error("monitor", "Cannot send cert notification to " + notification.name);