测试update_file
This commit is contained in:
parent
830e0194c2
commit
5a426fc149
|
@ -57,6 +57,7 @@ class RepositoriesController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_file
|
def update_file
|
||||||
|
Rails.logger.info("##################_________params_____________#########{params}")
|
||||||
interactor = Gitea::UpdateFileInteractor.call(current_user, params.merge(identifier: @project.identifier).compact)
|
interactor = Gitea::UpdateFileInteractor.call(current_user, params.merge(identifier: @project.identifier).compact)
|
||||||
if interactor.success?
|
if interactor.success?
|
||||||
@file = interactor.result
|
@file = interactor.result
|
||||||
|
|
Loading…
Reference in New Issue