From 1006fbd873002e862d44ea801419031390a8ffed Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 30 Dec 2022 13:46:34 +0800 Subject: [PATCH] A possible fix for #2447 --- 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 186962b0..54899a0a 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -1090,7 +1090,7 @@ class Monitor extends BeanModel { // Prevent if the msg is undefined, notifications such as Discord cannot send out. const heartbeatJSON = bean.toJSON(); if (!heartbeatJSON["msg"]) { - heartbeatJSON["msg"] = ""; + heartbeatJSON["msg"] = "N/A"; } await Notification.send(JSON.parse(notification.config), msg, await monitor.toJSON(false), heartbeatJSON);