diff options
author | Oswaldo <oswaldo@gitlab.com> | 2017-02-22 20:37:13 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-02-24 01:55:13 +0300 |
commit | 2b001d9e7a2136a6d670576843a953115a5c7c25 (patch) | |
tree | 37fbbc6ed8001b30bc9939045d0e9e7695837dba /lib/api/branches.rb | |
parent | 2fb3fcf0c0446c9a1568e26e81d49f3b5ce159dc (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.rb | 2 |
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 |