summaryrefslogtreecommitdiff
path: root/app/services/files/delete_service.rb
blob: 4f7e7a5baaac259d827981abe15b9e4333f492e8 (plain)
1
2
3
4
5
6
7
module Files
  class DeleteService < Files::BaseService
    def commit
      repository.remove_file(current_user, @file_path, @commit_message, @target_branch, author_email: @author_email, author_name: @author_name)
    end
  end
end