Commit 801d9bf8 authored by Bas Westerbaan's avatar Bas Westerbaan
Browse files

Fix slack webhook

parent b381ca27
......@@ -222,6 +222,7 @@ func pushToSlack(newIssues, fixedIssues []string, initial bool) {
Attachments: []slack.Attachment{},
}
for _, newIssue := range newIssues {
newIssue := newIssue
payload.Attachments = append(payload.Attachments, slack.Attachment{
Fallback: &newIssue,
Text: &newIssue,
......@@ -241,6 +242,7 @@ func pushToSlack(newIssues, fixedIssues []string, initial bool) {
Attachments: []slack.Attachment{},
}
for _, fixedIssue := range fixedIssues {
fixedIssue := fixedIssue
payload.Attachments = append(payload.Attachments, slack.Attachment{
Fallback: &fixedIssue,
Text: &fixedIssue,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment