aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-28 14:25:26 +0000
committerGravatar jesopo2019-10-28 14:25:26 +0000
commit18223a40ef6e26af3a66d560a68c97f378a01a8f (patch)
tree4fd3bafe5d6054eb04ef39ae7629f41d9c342590
parentsupport confidential notes on gitlab webhooks (diff)
signature
use the same formatting for "confidential_note" as "note"
-rw-r--r--modules/git_webhooks/gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py
index 6f772d5a..872f529f 100644
--- a/modules/git_webhooks/gitlab.py
+++ b/modules/git_webhooks/gitlab.py
@@ -101,7 +101,7 @@ class GitLab(object):
return self.merge_request(full_name, data)
elif event in ["issue", "confidential_issue"]:
return self.issues(full_name, data)
- elif event == "note":
+ elif event in ["note", "confidential_note"]:
return self.note(full_name, data)
elif event == "tag_push":
return self.tag_push(full_name, data)