always set card_action url, or notification wouldn't be sent;

darkclip 9 months ago
parent 8a989e6e6d
commit 865e32293b

@ -60,7 +60,9 @@ class WeCom extends NotificationProvider {
],
card_action: {
type: 1,
url: monitorJSON["url"],
url: monitorJSON["url"]
? monitorJSON["url"]
: "https://",
},
},
};

Loading…
Cancel
Save