Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswaldo <oswaldo@gitlab.com>2017-02-22 20:37:13 +0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2017-02-24 01:55:13 +0300
commit2b001d9e7a2136a6d670576843a953115a5c7c25 (patch)
tree37fbbc6ed8001b30bc9939045d0e9e7695837dba /lib/api/branches.rb
parent2fb3fcf0c0446c9a1568e26e81d49f3b5ce159dc (diff)
Return 202 with JSON body on async removals on V4 API
Diffstat (limited to 'lib/api/branches.rb')
-rw-r--r--lib/api/branches.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/branches.rb b/lib/api/branches.rb
index c65de90cca2..34f136948c2 100644
--- a/lib/api/branches.rb
+++ b/lib/api/branches.rb
@@ -137,7 +137,7 @@ module API
delete ":id/repository/merged_branches" do
DeleteMergedBranchesService.new(user_project, current_user).async_execute
- status(200)
+ accepted!
end
end
end