diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-23 21:54:44 +0300 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-24 17:33:51 +0300 |
commit | 99c2f3b3c534386d1d8258fea23d3991695ff4fe (patch) | |
tree | dd86d6083fd9fe641851fa063feb23d7f0ef4016 /lib | |
parent | f413d7ed8014601497834e5093a1892dd616875b (diff) |
api: expose wiki_page_events project hook field in the API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 2 | ||||
-rw-r--r-- | lib/api/project_hooks.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 66b85ab1793..3ecdc7d448a 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -49,7 +49,7 @@ module API class ProjectHook < Hook expose :project_id, :push_events expose :issues_events, :merge_requests_events, :tag_push_events - expose :note_events, :build_events, :pipeline_events + expose :note_events, :build_events, :pipeline_events, :wiki_page_events expose :enable_ssl_verification end diff --git a/lib/api/project_hooks.rb b/lib/api/project_hooks.rb index 3f63cd678e8..14f5be3b5f6 100644 --- a/lib/api/project_hooks.rb +++ b/lib/api/project_hooks.rb @@ -46,6 +46,7 @@ module API :note_events, :build_events, :pipeline_events, + :wiki_page_events, :enable_ssl_verification ] @hook = user_project.hooks.new(attrs) @@ -80,6 +81,7 @@ module API :note_events, :build_events, :pipeline_events, + :wiki_page_events, :enable_ssl_verification ] |