diff options
| author | 2020-01-28 01:18:48 +0000 | |
|---|---|---|
| committer | 2020-01-28 01:18:48 +0000 | |
| commit | c831984e20bbcd9e410d1dcf049f5a17f34325d1 (patch) | |
| tree | ce8d22f01da7c3fb1a14756a93d343fe195e8c38 /modules/git_webhooks/gitlab.py | |
| parent | remove unused ROOT_DIRECTORY and LOGS_DIRECTORY (diff) | |
| signature | ||
'object'->'type'
Diffstat (limited to 'modules/git_webhooks/gitlab.py')
| -rw-r--r-- | modules/git_webhooks/gitlab.py | 2 |
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" % |
