Skip to content

Commit

Permalink
Issue #144: Fix to generate urls correctly in Slack alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiz committed Oct 18, 2017
1 parent f6bfc4c commit 2b0a550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phplib/Target/Slack.php
Expand Up @@ -70,7 +70,7 @@ public function process(Alert $alert, $date) {
'icon_emoji' => self::escape($icon),
'text' => '',
'attachments' => [[
'pretext' => self::escape($message),
'pretext' => $message,
'fields' => $fields,
'ts' => $alert['alert_date'],
]],
Expand Down

0 comments on commit 2b0a550

Please sign in to comment.