summaryrefslogtreecommitdiff
path: root/app/services/files/update_service.rb
blob: 1960dc7d949c1abb2612d024227da98050a1c5e9 (plain)
1
2
3
4
5
6
7
8
9
require_relative "base_service"

module Files
  class UpdateService < Files::BaseService
    def commit
      repository.commit_file(current_user, @file_path, @file_content, @commit_message, @target_branch, true)
    end
  end
end