提交 ad5b5d1e 编写于 作者: N Nihad Abbasov

projects API should return info about deleted hook

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册