"=", not "==", for picking gitlab note object type
This commit is contained in:
parent
7dd70c769d
commit
c7e3e42728
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class GitLab(object):
|
||||||
def _note(self, full_name, data, object):
|
def _note(self, full_name, data, object):
|
||||||
number = utils.irc.color("#%s" % object["iid"], colors.COLOR_ID)
|
number = utils.irc.color("#%s" % object["iid"], 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"
|
||||||
|
|
||||||
title = object["title"]
|
title = object["title"]
|
||||||
commenter = utils.irc.bold(data["user"]["username"])
|
commenter = utils.irc.bold(data["user"]["username"])
|
||||||
|
|
Loading…
Reference in a new issue