'issues' -> 'issue', 'pull_request' -> 'merge_request'
This commit is contained in:
parent
2f94e7546f
commit
f0a9f00b57
1 changed files with 2 additions and 2 deletions
|
@ -77,9 +77,9 @@ class GitLab(object):
|
||||||
def webhook(self, full_name, event, data, headers):
|
def webhook(self, full_name, event, data, headers):
|
||||||
if event == "push":
|
if event == "push":
|
||||||
return self.push(full_name, data)
|
return self.push(full_name, data)
|
||||||
elif event == "pull_request":
|
elif event == "merge_request":
|
||||||
return self.pull_request(full_name, data)
|
return self.pull_request(full_name, data)
|
||||||
elif event == "issues":
|
elif event == "issue":
|
||||||
return self.issues(full_name, data)
|
return self.issues(full_name, data)
|
||||||
elif event == "note":
|
elif event == "note":
|
||||||
return self.note(full_name, data)
|
return self.note(full_name, data)
|
||||||
|
|
Loading…
Reference in a new issue