We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f30d4 commit 7136dd7Copy full SHA for 7136dd7
1 file changed
server/notification-providers/stackfield.js
@@ -25,7 +25,8 @@ class Stackfield extends NotificationProvider {
25
26
const baseURL = await Settings.get("primaryBaseURL");
27
if (baseURL) {
28
- textMsg += `\n${baseURL + getMonitorRelativeURL(monitorJSON.id)}`;
+ const urlPath = monitorJSON ? getMonitorRelativeURL(monitorJSON.id) : "/";
29
+ textMsg += `\n${baseURL + urlPath}`;
30
}
31
32
const data = {
0 commit comments