Browse Source

更新文件日志

pull/342/head
xxq250 3 years ago
parent
commit
c85a15b794
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/interactors/gitea/update_file_interactor.rb

+ 1
- 0
app/interactors/gitea/update_file_interactor.rb View File

@@ -25,6 +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}")
render_result(response)
rescue Exception => exception
fail!(exception.message)


Loading…
Cancel
Save