mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:33:05 +08:00
Merge remote-tracking branch 'origin/trustie_server' into trustie_server
This commit is contained in:
@@ -65,7 +65,7 @@ namespace :sync_mindspore do
|
||||
total_contributions = contributions.sum{|i| i["contributions"]}
|
||||
contributions.each do |con|
|
||||
cont_balance = Float(con["contributions"]*9900/total_contributions).round(0)
|
||||
token_balance << [con["id"], cont_balance] if cont_balance > 0
|
||||
token_balance << [con["id"].to_s, cont_balance] if cont_balance > 0
|
||||
end
|
||||
params = {
|
||||
"request-type": "create repo",
|
||||
|
||||
Reference in New Issue
Block a user