Skip to content

Commit

Permalink
hooks/slack: move pretext -> title
Browse files Browse the repository at this point in the history
This follows the Slack style guide
https://api.slack.com/docs/message-guidelines
  • Loading branch information
jloh committed Mar 31, 2018
1 parent c02e5f4 commit 4cdae2a
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 4cdae2a

Please sign in to comment.