测试update_file

This commit is contained in:
sylor_huang@126.com 2020-03-24 09:51:00 +08:00
parent 830e0194c2
commit 5a426fc149
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ class RepositoriesController < ApplicationController
end
def update_file
Rails.logger.info("##################_________params_____________#########{params}")
interactor = Gitea::UpdateFileInteractor.call(current_user, params.merge(identifier: @project.identifier).compact)
if interactor.success?
@file = interactor.result