Skip to content

Commit

Permalink
Merge pull request #28 from jloh/slack_style_guide
Browse files Browse the repository at this point in the history
Move Slack attachment title from pretext -> title
  • Loading branch information
jloh authored Mar 31, 2018
2 parents c02e5f4 + 4cdae2a commit e6864e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions conf/v1/hooks.conf
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,10 @@ location = /v1/hooks/slack {
response_type = slack_response_type,
attachments = {{
mrkdwn_in = {
"text",
"pretext"
"text"
},
fallback = "", -- TODO: Actually put something here good lord
pretext = title,
title = title,
text = resp,
footer = "Powered by <https://geojs.io|GeoJS>",
footer_icon = "https://static.jloh.co/geojs/avatar/hipchat/v1/geojs-icon_2x.png"
Expand Down

0 comments on commit e6864e0

Please sign in to comment.