summaryrefslogtreecommitdiff
path: root/lib/api/project_hooks.rb
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-08-23 14:54:44 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2016-08-24 10:33:51 -0400
commit99c2f3b3c534386d1d8258fea23d3991695ff4fe (patch)
treedd86d6083fd9fe641851fa063feb23d7f0ef4016 /lib/api/project_hooks.rb
parentf413d7ed8014601497834e5093a1892dd616875b (diff)
downloadgitlab-ce-99c2f3b3c534386d1d8258fea23d3991695ff4fe.tar.gz
api: expose wiki_page_events project hook field in the API
Diffstat (limited to 'lib/api/project_hooks.rb')
-rw-r--r--lib/api/project_hooks.rb2
1 files changed, 2 insertions, 0 deletions
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
]