Fix issues with Slack contact points (#40953)

* recipient validation regex modified, validation at creation/modification implemented

* Remove validation for recipient, fix tests

* Log level changed from Warn to Error
This commit is contained in:
Santiago
2021-10-27 13:58:37 -03:00
committed by GitHub
parent 7c5de96503
commit c9654c4bc0
7 changed files with 25 additions and 96 deletions
@@ -790,7 +790,7 @@ var expAvailableChannelJsonOutput = `
"element": "input",
"inputType": "text",
"label": "Recipient",
"description": "Specify channel or user, use #channel-name, @username (has to be all lowercase, no whitespace), or user/channel Slack ID - required unless you provide a webhook",
"description": "Specify channel, private group, or IM channel (can be an encoded ID or a name) - required unless you provide a webhook",
"placeholder": "",
"propertyName": "recipient",
"selectOptions": null,