Commit ad5b5d1e authored by Nihad Abbasov's avatar Nihad Abbasov

projects API should return info about deleted hook

parent d47e4092
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment