diff --git a/app/controllers/concerns/git_helper.rb b/app/controllers/concerns/git_helper.rb index e72f1f5da..26e93d99b 100644 --- a/app/controllers/concerns/git_helper.rb +++ b/app/controllers/concerns/git_helper.rb @@ -60,7 +60,7 @@ module GitHelper # 删除文件 def git_delete_file(repo_path, file_path, author_name, author_email, message) - GitService.delete_file(repo_path, repo_path, file_path: file_path, message: message, author_name: author_name, + GitService.delete_file(repo_path: repo_path, file_path: file_path, message: message, author_name: author_name, author_email: author_email) end