更新文件日志

This commit is contained in:
xxq250 2023-07-06 15:37:37 +08:00
parent c85a15b794
commit c344859063
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module Gitea
def run
Contents::UpdateForm.new(valid_params).validate!
response = Gitea::Repository::Entries::UpdateService.new(token, owner, @params[:identifier], file_path, file_params).call
Rails.logger.info("Gitea::Repository::Entries::UpdateService======#{response}")
Rails.logger.info("Gitea::Repository::Entries::UpdateService======#{response.body}")
render_result(response)
rescue Exception => exception
fail!(exception.message)