"id" -> "iid"

This commit is contained in:
jesopo 2019-10-28 12:38:29 +00:00
parent d20ff91e99
commit 9eacdee086

View file

@ -173,7 +173,7 @@ class GitLab(object):
return self.issue_note(full_name, data) return self.issue_note(full_name, data)
def issue_note(self, 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) colors.COLOR_ID)
type = data["object_attributes"]["noteable_type"] type = data["object_attributes"]["noteable_type"]
type == "issue" if type == "Issue" else "MR" type == "issue" if type == "Issue" else "MR"