Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

Commit

Permalink
fixing slack formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorinvo committed Feb 9, 2017
1 parent 736665f commit aaa6a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promplot/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func Slack(token, channel, file, name, title string) error {
api := slack.New(token)

_, _, err := api.PostMessage(channel, "Promplot: "+title, slack.PostMessageParameters{
_, _, err := api.PostMessage(channel, title, slack.PostMessageParameters{
Username: "Promplot",
IconEmoji: ":chart_with_upwards_trend:",
})
Expand Down

0 comments on commit aaa6a2c

Please sign in to comment.