Alert transport slack config (#15131)

* Fixing webform - Icon field was referencing slack-author and causing issues when writing to database

* Fixing validation - slack-username no longer used, changed to slack-author

* Fixed typo in previous update to Slack.php
This commit is contained in:
Antonio Perretta
2023-07-07 13:36:34 -04:00
committed by GitHub
parent b655eb7feb
commit 8c8b877ba4

View File

@@ -85,7 +85,7 @@ class Slack extends Transport
],
[
'title' => 'Icon',
'name' => 'slack-author',
'name' => 'slack-icon_emoji',
'descr' => 'Name of emoji for icon',
'type' => 'text',
],
@@ -93,7 +93,7 @@ class Slack extends Transport
'validation' => [
'slack-url' => 'required|url',
'slack-channel' => 'string',
'slack-username' => 'string',
'slack-author' => 'string',
'slack-icon_emoji' => 'string',
],
];