mirror of https://github.com/velour/catbase.git
git: fix gitea formatting
This commit is contained in:
parent
f1f5fb3c12
commit
8d74baddba
|
@ -101,7 +101,7 @@ func (p *GitPlugin) giteaEvent(w http.ResponseWriter, r *http.Request) {
|
|||
msg := ""
|
||||
for _, c := range evt.Commits {
|
||||
m := strings.Split(c.Message, "\n")[0]
|
||||
msg += fmt.Sprintf("%s pushed to %s (<%s|%s>) %s",
|
||||
msg += fmt.Sprintf("%s pushed to %s (<%s|%s>) %s\n",
|
||||
c.Author.Name,
|
||||
repo,
|
||||
c.URL,
|
||||
|
|
Loading…
Reference in New Issue