diff options
author | Unknwon <u@gogs.io> | 2017-02-19 16:07:28 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-19 16:07:28 -0500 |
commit | 41a2632ae7311976c9dda6f5b9d27616ba9a41c9 (patch) | |
tree | d26b16f9aaa566f50a99025cd4add86693563762 | |
parent | f3a228ed61fc3253365485a2389c500d6c185a58 (diff) |
webhook: minor text change on Discord
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | models/webhook_discord.go | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -14,6 +14,6 @@ public/img/avatar/ profile/ *.pem output* -gogs.sublime-project -gogs.sublime-workspace +*.sublime-project +*.sublime-workspace /release 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 { |