gitlab: fix event URL

This commit is contained in:
Chris Sexton 2019-10-26 15:37:26 -04:00 committed by Chris Sexton
parent 6393d8bb22
commit 6a332bcd8e
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func New(b bot.Bot) *GitPlugin {
func (p *GitPlugin) registerWeb() { func (p *GitPlugin) registerWeb() {
http.HandleFunc("/git/github/event", p.githubEvent) http.HandleFunc("/git/github/event", p.githubEvent)
http.HandleFunc("/git/github/gitlabEvent", p.gitlabEvent) http.HandleFunc("/git/gitlab/event", p.gitlabEvent)
p.b.RegisterWeb("/git", "Git") p.b.RegisterWeb("/git", "Git")
} }