From 18223a40ef6e26af3a66d560a68c97f378a01a8f Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 28 Oct 2019 14:25:26 +0000 Subject: [PATCH] use the same formatting for "confidential_note" as "note" --- modules/git_webhooks/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)