Skip to content

Commit cd5f849

Browse files
author
Gauvain Pocentek
committed
ProjectHook: support the token attribute
Fix #170
1 parent ca014f8 commit cd5f849

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
@@ -1288,7 +1288,7 @@ class ProjectHook(GitlabObject):
12881288
requiredCreateAttrs = ['url']
12891289
optionalCreateAttrs = ['push_events', 'issues_events', 'note_events',
12901290
'merge_requests_events', 'tag_push_events',
1291-
'build_events', 'enable_ssl_verification']
1291+
'build_events', 'enable_ssl_verification', 'token']
12921292
shortPrintAttr = 'url'
12931293

12941294

0 commit comments

Comments
 (0)