diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-13 08:20:23 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-13 08:20:23 +0000 |
commit | b609ee55f23847e529cabd5b35f013a7293b380a (patch) | |
tree | 89319b789bb653162eed6493a9f782133e56b25c /lib | |
parent | edb8ed36cd5ce315ca45a047bd06ab1dfcf44203 (diff) | |
parent | fa2339641f52688ba2465f4c602c1de36fe5b353 (diff) | |
download | gitlab-ce-b609ee55f23847e529cabd5b35f013a7293b380a.tar.gz |
Merge branch 'rename_files_delete_service' into 'master'
Rename Files::DeleteService to Files::DestroyService
See merge request !9110
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/files.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb index c58472de578..2ecdd747c8e 100644 --- a/lib/api/files.rb +++ b/lib/api/files.rb @@ -117,7 +117,7 @@ module API authorize! :push_code, user_project file_params = declared_params(include_missing: false) - result = ::Files::DeleteService.new(user_project, current_user, commit_params(file_params)).execute + result = ::Files::DestroyService.new(user_project, current_user, commit_params(file_params)).execute if result[:status] == :success status(200) |