From c831984e20bbcd9e410d1dcf049f5a17f34325d1 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 28 Jan 2020 01:18:48 +0000 Subject: 'object'->'type' --- modules/git_webhooks/gitlab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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" % -- cgit v1.3.1-10-gc9f91