diff options
author | Rafael Eyng <rafaeleyng@gmail.com> | 2016-07-10 23:28:29 -0300 |
---|---|---|
committer | Rafael Eyng <rafaeleyng@gmail.com> | 2016-07-10 23:28:29 -0300 |
commit | ca662e2d5decbc78a817544227d1efccb5392761 (patch) | |
tree | b8b85c1fc6d6adaebba89e44441e2ba26d6865cf /gitlab/objects.py | |
parent | 867b7abca1cec287a413c9fb190fb5ddd9337cfc (diff) | |
download | gitlab-ca662e2d5decbc78a817544227d1efccb5392761.tar.gz |
add `note_events` to project hooks attributes
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index b268e78..9ff8231 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1021,7 +1021,7 @@ class ProjectHook(GitlabObject): _url = '/projects/%(project_id)s/hooks' requiredUrlAttrs = ['project_id'] requiredCreateAttrs = ['url'] - optionalCreateAttrs = ['push_events', 'issues_events', + optionalCreateAttrs = ['push_events', 'issues_events', 'note_events', 'merge_requests_events', 'tag_push_events', 'build_events', 'enable_ssl_verification'] shortPrintAttr = 'url' |