diff options
Diffstat (limited to 'models/webhook_discord.go')
-rw-r--r-- | models/webhook_discord.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webhook_discord.go b/models/webhook_discord.go index 097c6f89..820637fb 100644 --- a/models/webhook_discord.go +++ b/models/webhook_discord.go @@ -105,7 +105,7 @@ func getDiscordPushPayload(p *api.PushPayload, slack *SlackMeta) (*DiscordPayloa repoLink := DiscordLinkFormatter(p.Repo.HTMLURL, p.Repo.Name) branchLink := DiscordLinkFormatter(p.Repo.HTMLURL+"/src/"+branchName, branchName) - content := fmt.Sprintf("Pushed %s to %s/%s:\n", commitString, repoLink, branchLink) + content := fmt.Sprintf("Pushed %s to %s/%s\n", commitString, repoLink, branchLink) // for each commit, generate attachment text for i, commit := range p.Commits { |