FIX 修复版本库在线创建文件时,commiter信息错误的bug

This commit is contained in:
Jasder
2020-08-27 14:43:44 +08:00
parent 6d0eb74683
commit 79c557bd68
2 changed files with 3 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ module Gitea
file_params = file_params.merge(new_branch: @params[:new_branch]) unless @params[:new_branch].blank?
file_params = file_params.merge(content: Base64.encode64(@params[:content]))
file_params = file_params.merge(message: @params[:message]) unless @params[:message].blank?
file_params = file_params.merge(committer: @params[:committer])
file_params
end
end