git: fix icon

This commit is contained in:
Chris Sexton 2019-11-03 08:27:50 -05:00
parent 97ca444df9
commit 7f5f62d04a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ import (
) )
func (p *GitPlugin) giteaEvent(w http.ResponseWriter, r *http.Request) { func (p *GitPlugin) giteaEvent(w http.ResponseWriter, r *http.Request) {
icon := p.c.Get("gitlab.icon", ":tea:") icon := p.c.Get("gitea.icon", ":tea:")
evt := GiteaPush{} evt := GiteaPush{}
dec := json.NewDecoder(r.Body) dec := json.NewDecoder(r.Body)
err := dec.Decode(&evt) err := dec.Decode(&evt)