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

pull/4516/head
darkclip 3 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