projects API should return info about deleted hook
This commit is contained in:
parent
d47e40929d
commit
ad5b5d1e51
1 changed files with 0 additions and 1 deletions
|
@ -176,7 +176,6 @@ module Gitlab
|
|||
authorize! :admin_project, user_project
|
||||
@hook = user_project.hooks.find(params[:hook_id])
|
||||
@hook.destroy
|
||||
nil
|
||||
end
|
||||
|
||||
# Get a project repository branches
|
||||
|
|
Loading…
Reference in a new issue