|
|
|
@@ -1082,8 +1082,8 @@ class ApplicationController < ActionController::Base |
|
|
|
|
|
|
|
# 将commit相关信息写入链上 |
|
|
|
commit_shas.each do |commit_sha| |
|
|
|
commit_diff = Gitea::Commit::DiffService.call(ownername, identifier, commit_sha, owner['gitea_token'], current_user&.gitea_token) |
|
|
|
commit = Gitea::Commit::InfoService.call(ownername, identifier, commit_sha, owner['gitea_token'], current_user&.gitea_token) |
|
|
|
commit_diff = Gitea::Commit::DiffService.call(ownername, identifier, commit_sha, owner['gitea_token']) |
|
|
|
commit = Gitea::Commit::InfoService.call(ownername, identifier, commit_sha, owner['gitea_token']) |
|
|
|
params = { |
|
|
|
"request-type": "upload commit info", |
|
|
|
"commit_hash": commit_sha, |
|
|
|
|