mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Return 202 with JSON body on async removals on V4 API
This commit is contained in:

committed by
Oswaldo Ferreira

parent
2fb3fcf0c0
commit
2b001d9e7a
@ -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'
|
||||
|
Reference in New Issue
Block a user