projects API should return info about deleted hook
This commit is contained in:
parent
d47e40929d
commit
ad5b5d1e51
|
@ -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