mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-24 05:35:46 +08:00
更新文件日志
This commit is contained in:
@@ -25,7 +25,7 @@ module Gitea
|
|||||||
def run
|
def run
|
||||||
Contents::UpdateForm.new(valid_params).validate!
|
Contents::UpdateForm.new(valid_params).validate!
|
||||||
response = Gitea::Repository::Entries::UpdateService.new(token, owner, @params[:identifier], file_path, file_params).call
|
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)
|
render_result(response)
|
||||||
rescue Exception => exception
|
rescue Exception => exception
|
||||||
fail!(exception.message)
|
fail!(exception.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user