aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-28 01:18:48 +0000
committerGravatar jesopo2020-01-28 01:18:48 +0000
commitc831984e20bbcd9e410d1dcf049f5a17f34325d1 (patch)
treece8d22f01da7c3fb1a14756a93d343fe195e8c38 /modules
parentremove unused ROOT_DIRECTORY and LOGS_DIRECTORY (diff)
signature
'object'->'type'
Diffstat (limited to 'modules')
-rw-r--r--modules/git_webhooks/gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/gitlab.py b/modules/git_webhooks/gitlab.py
index adc6246f..007b56f4 100644
--- a/modules/git_webhooks/gitlab.py
+++ b/modules/git_webhooks/gitlab.py
@@ -199,7 +199,7 @@ class GitLab(object):
type = data["object_attributes"]["noteable_type"]
type == "issue" if type == "Issue" else "MR"
- title = object["title"]
+ title = type["title"]
commenter = utils.irc.bold(data["user"]["username"])
url = data["object_attributes"]["url"]
return [["[%s] %s commented on %s: %s" %