Commit ad5b5d1e51abb02496458989fbff351f57f7fb29
1 parent
d47e4092
Exists in
master
and in
4 other branches
projects API should return info about deleted hook
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
lib/api/projects.rb
@@ -176,7 +176,6 @@ module Gitlab | @@ -176,7 +176,6 @@ module Gitlab | ||
176 | authorize! :admin_project, user_project | 176 | authorize! :admin_project, user_project |
177 | @hook = user_project.hooks.find(params[:hook_id]) | 177 | @hook = user_project.hooks.find(params[:hook_id]) |
178 | @hook.destroy | 178 | @hook.destroy |
179 | - nil | ||
180 | end | 179 | end |
181 | 180 | ||
182 | # Get a project repository branches | 181 | # Get a project repository branches |