lib/vidar/slack_notification.rb in vidar-1.4.0 vs lib/vidar/slack_notification.rb in vidar-1.4.1
- old
+ new
@@ -55,16 +55,16 @@
:connection, :build_url
def data(message:, color:)
text = [message].flatten.compact.join("\n")
{
- "attachments": [
+ attachments: [
{
- "title": github,
- "title_link": github_url,
- "color": color,
- "text": text,
- "fallback": text,
+ title: github,
+ title_link: github_url,
+ color: color,
+ text: text,
+ fallback: text,
}
]
}
end