summaryrefslogtreecommitdiff
path: root/lib/api/project_hooks.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-30 15:08:59 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-30 15:08:59 +0000
commit038366a0932c5f88019cc3db85382f26af3933e7 (patch)
tree584aec1f4ca189f85ccd0b067f6c2e712c8fc004 /lib/api/project_hooks.rb
parent347876a78ef1cc8b630ad99b919ae0f61abbae68 (diff)
downloadgitlab-ce-038366a0932c5f88019cc3db85382f26af3933e7.tar.gz
Add latest changes from gitlab-org/gitlab@master
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 bc2d8c816a8..91bcc7e0257 100644
--- a/lib/api/project_hooks.rb
+++ b/lib/api/project_hooks.rb
@@ -7,6 +7,8 @@ module API
before { authenticate! }
before { authorize_admin_project }
+ feature_category :integrations
+
helpers do
params :project_hook_properties do
requires :url, type: String, desc: "The URL to send the request to"