'object'->'type'
This commit is contained in:
parent
84bb45d0ba
commit
c831984e20
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class GitLab(object):
|
||||||
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 = type["title"]
|
||||||
commenter = utils.irc.bold(data["user"]["username"])
|
commenter = utils.irc.bold(data["user"]["username"])
|
||||||
url = data["object_attributes"]["url"]
|
url = data["object_attributes"]["url"]
|
||||||
return [["[%s] %s commented on %s: %s" %
|
return [["[%s] %s commented on %s: %s" %
|
||||||
|
|
Loading…
Reference in a new issue