From 6a332bcd8eb7f6c0234cac12acb5186f74f95c42 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Sat, 26 Oct 2019 15:37:26 -0400 Subject: [PATCH] gitlab: fix event URL --- plugins/git/git.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/git.go b/plugins/git/git.go index 4bc9dd5..943600f 100644 --- a/plugins/git/git.go +++ b/plugins/git/git.go @@ -43,7 +43,7 @@ func New(b bot.Bot) *GitPlugin { func (p *GitPlugin) registerWeb() { 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") }