Skip to content

Commit ca662e2

Browse files
committed
add note_events to project hooks attributes
1 parent 867b7ab commit ca662e2

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)