summaryrefslogtreecommitdiff
path: root/lib/api/project_hooks.rb
diff options
context:
space:
mode:
authorJean-Baptiste Guerraz <jbguerraz@skilld.fr>2018-02-26 18:35:04 +0100
committerJean-Baptiste Guerraz <jbguerraz@skilld.fr>2018-03-01 10:51:56 +0100
commit20844326f3eb42692bed0034f726b9bb8a23625e (patch)
treea60360910a80dc689a7c161c83c5fc3952634f7f /lib/api/project_hooks.rb
parentbac9bb1866f47f0b1515b8705ea9eba1fa9b9ced (diff)
downloadgitlab-ce-20844326f3eb42692bed0034f726b9bb8a23625e.tar.gz
align "confidential issues events" implementation with "issues events" one
Diffstat (limited to 'lib/api/project_hooks.rb')
-rw-r--r--lib/api/project_hooks.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/project_hooks.rb b/lib/api/project_hooks.rb
index 86066e2b58f..f82241058e5 100644
--- a/lib/api/project_hooks.rb
+++ b/lib/api/project_hooks.rb
@@ -10,6 +10,7 @@ module API
requires :url, type: String, desc: "The URL to send the request to"
optional :push_events, type: Boolean, desc: "Trigger hook on push events"
optional :issues_events, type: Boolean, desc: "Trigger hook on issues events"
+ optional :confidential_issues_events, type: Boolean, desc: "Trigger hook on confidential issues events"
optional :merge_requests_events, type: Boolean, desc: "Trigger hook on merge request events"
optional :tag_push_events, type: Boolean, desc: "Trigger hook on tag push events"
optional :note_events, type: Boolean, desc: "Trigger hook on note(comment) events"