diff options
| author | 2019-10-28 12:38:29 +0000 | |
|---|---|---|
| committer | 2019-10-28 12:38:29 +0000 | |
| commit | 9eacdee0868f1346a5920d97ae917692f8cacd7c (patch) | |
| tree | 64ee54c30f2723da49f4ad551aa988b20e062cf0 /modules/git_webhooks | |
| parent | 'issue_comment' -> 'issue_note', fix issue id referencing (diff) | |
| signature | ||
"id" -> "iid"
Diffstat (limited to 'modules/git_webhooks')
| -rw-r--r-- | modules/git_webhooks/gitlab.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
