summaryrefslogtreecommitdiff
path: root/lib/api/projects.rb
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2017-02-24 11:26:44 +0000
committerSean McGivern <sean@mcgivern.me.uk>2017-02-24 11:26:44 +0000
commit806c748852e7d62dfa13fd2d039949ce0f875a12 (patch)
treead2142c9c63d3a3aca7d71a048bda460b1767389 /lib/api/projects.rb
parenta82e3d30b2ef625dae0d2f25324460402f960f09 (diff)
parentf40403cce1a8185254e74dff54ee687b7953093b (diff)
downloadgitlab-ce-api-remove-owned-groups.tar.gz
Merge branch 'master' into 'api-remove-owned-groups'api-remove-owned-groups
# Conflicts: # doc/api/v3_to_v4.md
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index e7b891bd92e..b89bddc7e29 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -282,6 +282,8 @@ module API
delete ":id" do
authorize! :remove_project, user_project
::Projects::DestroyService.new(user_project, current_user, {}).async_execute
+
+ accepted!
end
desc 'Mark this project as forked from another'