diff --git a/server/notification-providers/google-chat.js b/server/notification-providers/google-chat.js index 2dcd6e20..6fb32428 100644 --- a/server/notification-providers/google-chat.js +++ b/server/notification-providers/google-chat.js @@ -27,7 +27,7 @@ class GoogleChat extends NotificationProvider { textMsg += `${msg}`; const baseURL = await setting("primaryBaseURL"); - if (baseURL) { + if (baseURL && monitorJSON) { textMsg += `\n${baseURL + getMonitorRelativeURL(monitorJSON.id)}`; }