mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update Slack.php add emoji and username support (#10695)
* Update Slack.php add emoji and username support * Update * Update
This commit is contained in:
@@ -53,6 +53,8 @@ class Slack extends Transport
|
||||
],
|
||||
],
|
||||
'channel' => $api['channel'],
|
||||
'username' => $api['username'],
|
||||
'icon_emoji' => ':' .$api['icon_emoji'].':',
|
||||
];
|
||||
$alert_message = json_encode($data);
|
||||
curl_setopt($curl, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
|
||||
|
Reference in New Issue
Block a user