Skip to content

Commit c88c638

Browse files
author
Gauvain Pocentek
authored
Merge pull request #128 from rafaeleyng/feat/add-note-events-to-project-hook
add `note_events` to project hooks attributes
2 parents 867b7ab + ca662e2 commit c88c638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ class ProjectHook(GitlabObject):
10211021
_url = '/projects/%(project_id)s/hooks'
10221022
requiredUrlAttrs = ['project_id']
10231023
requiredCreateAttrs = ['url']
1024-
optionalCreateAttrs = ['push_events', 'issues_events',
1024+
optionalCreateAttrs = ['push_events', 'issues_events', 'note_events',
10251025
'merge_requests_events', 'tag_push_events',
10261026
'build_events', 'enable_ssl_verification']
10271027
shortPrintAttr = 'url'

0 commit comments

Comments
 (0)