mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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',
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user