diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-30 22:42:13 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-30 22:42:13 +0000 |
commit | d455bcf1e412ab4a4abdfbe691fc40e3d4a0ce8a (patch) | |
tree | 05455701cc0a4a220d3c1e089b39a01a310aa2a2 /lib | |
parent | b8cacd68a6297f2c6cdd454a3d82a487367f2e70 (diff) | |
download | gitlab-ce-d455bcf1e412ab4a4abdfbe691fc40e3d4a0ce8a.tar.gz |
Add latest changes from gitlab-org/security/gitlab@13-10-stable-ee
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/system_hooks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/system_hooks.rb b/lib/api/system_hooks.rb index 42e16d47a0b..fe23a111b7f 100644 --- a/lib/api/system_hooks.rb +++ b/lib/api/system_hooks.rb @@ -47,7 +47,7 @@ module API params do requires :id, type: Integer, desc: 'The ID of the system hook' end - get ":id" do + post ":id" do hook = SystemHook.find(params[:id]) data = { event_name: "project_create", |