fix not utilizing fetched address

pull/4871/head
Brodie Davis 5 months ago
parent 4b3ad53512
commit 6eaf6b409c

@ -48,7 +48,8 @@ class Slack extends NotificationProvider {
}
if (this.extractAdress(monitorJSON)) {
const address = this.extractAdress(monitorJSON);
if (address) {
actions.push({
"type": "button",
"text": {
@ -56,7 +57,7 @@ class Slack extends NotificationProvider {
"text": "Visit site",
},
"value": "Site",
"url": monitorJSON.url,
"url": address,
});
}

Loading…
Cancel
Save