diff --git a/server/notification-providers/google-chat.js b/server/notification-providers/google-chat.js index 2557a142c..c05830d93 100644 --- a/server/notification-providers/google-chat.js +++ b/server/notification-providers/google-chat.js @@ -80,6 +80,15 @@ class GoogleChat extends NotificationProvider { }); } + // add monitor URL if available + if (monitorJSON && monitorJSON["url"]) { + sectionWidgets.push({ + textParagraph: { + text: `URL:\n${monitorJSON["url"]}`, + }, + }); + } + // add button for monitor link if available const baseURL = await setting("primaryBaseURL"); if (baseURL) {