From 9eacdee0868f1346a5920d97ae917692f8cacd7c Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 28 Oct 2019 12:38:29 +0000 Subject: [PATCH] "id" -> "iid" --- 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 59ed6175..98ddd933 100644 --- a/modules/git_webhooks/gitlab.py +++ b/modules/git_webhooks/gitlab.py @@ -173,7 +173,7 @@ class GitLab(object): return self.issue_note(full_name, data) def issue_note(self, full_name, data): - number = utils.irc.color("#%s" % data["issue"]["id"], + number = utils.irc.color("#%s" % data["issue"]["iid"], colors.COLOR_ID) type = data["object_attributes"]["noteable_type"] type == "issue" if type == "Issue" else "MR"