Merge branch 'louislam:master' into websocket_test

This commit is contained in:
PoleTransformer
2025-03-30 22:31:26 +00:00
committed by GitHub
62 changed files with 5769 additions and 1952 deletions
+1 -1
View File
@@ -1444,7 +1444,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}] ${certType} certificate ${certCN} will be expired in ${daysRemaining} days`);
await Notification.send(JSON.parse(notification.config), `[${this.name}][${this.url}] ${certType} certificate ${certCN} will expire in ${daysRemaining} days`);
sent = true;
} catch (e) {
log.error("monitor", "Cannot send cert notification to " + notification.name);