Merge branch 'master' into fixes/api
Conflicts: spec/requests/api/projects_spec.rb
This commit is contained in:
commit
f0e417091c
3 changed files with 6 additions and 7 deletions
|
@ -244,8 +244,8 @@ module Gitlab
|
|||
# id (required) - The ID of a project
|
||||
# hook_id (required) - The ID of hook to delete
|
||||
# Example Request:
|
||||
# DELETE /projects/:id/hooks
|
||||
delete ":id/hooks" do
|
||||
# DELETE /projects/:id/hooks/:hook_id
|
||||
delete ":id/hooks/:hook_id" do
|
||||
authorize! :admin_project, user_project
|
||||
bad_request!(:hook_id) unless params.has_key? :hook_id
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue