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 := ""
|
msg := ""
|
||||||
for _, c := range evt.Commits {
|
for _, c := range evt.Commits {
|
||||||
m := strings.Split(c.Message, "\n")[0]
|
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,
|
c.Author.Name,
|
||||||
repo,
|
repo,
|
||||||
c.URL,
|
c.URL,
|
||||||
|
|
Loading…
Reference in New Issue