This commit is contained in:
parent
81d39588c6
commit
e9237d7789
|
@ -1,6 +1,6 @@
|
||||||
json.total_count @reposync_branch_logs.count
|
json.total_count @reposync_branch_logs.count
|
||||||
json.gitlink_branch_name @branch&.gitlink_branch_name
|
json.gitlink_branch_name @branch&.gitlink_branch_name
|
||||||
json.external_type @branch&.repository&.type
|
json.external_type @branch&.sync_repository&.type
|
||||||
json.external_branch_name @branch&.external_branch_name
|
json.external_branch_name @branch&.external_branch_name
|
||||||
json.logs @reposync_branch_logs.each do |log|
|
json.logs @reposync_branch_logs.each do |log|
|
||||||
type = log['repo_name'].start_with?('gitee') ? 'gitee' : 'github'
|
type = log['repo_name'].start_with?('gitee') ? 'gitee' : 'github'
|
||||||
|
|
Loading…
Reference in New Issue