diff options
Diffstat (limited to 'app/services/files/update_service.rb')
-rw-r--r-- | app/services/files/update_service.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/services/files/update_service.rb b/app/services/files/update_service.rb index 905c7a7c81a..8d2b5083179 100644 --- a/app/services/files/update_service.rb +++ b/app/services/files/update_service.rb @@ -4,8 +4,9 @@ module Files class UpdateService < Files::BaseService def commit repository.update_file(current_user, @file_path, @file_content, - @target_branch, previous_path: @previous_path, - message: @commit_message, update: true) + branch: @target_branch, + previous_path: @previous_path, + message: @commit_message) end end end |