Commit 17ff4e30 authored by nanahira's avatar nanahira

Revert "upload deck one by one"

This reverts commit df574be9.
parent df574be9
...@@ -159,7 +159,7 @@ var UploadToChallonge = function () { ...@@ -159,7 +159,7 @@ var UploadToChallonge = function () {
} }
sendResponse("读取玩家列表完毕,共有" + player_list.length + "名玩家。"); sendResponse("读取玩家列表完毕,共有" + player_list.length + "名玩家。");
sendResponse("开始上传玩家列表至Challonge。"); sendResponse("开始上传玩家列表至Challonge。");
_async.eachSeries(player_list, (player_name, done) => { _async.each(player_list, (player_name, done) => {
sendResponse("正在上传玩家 " + player_name + " 至Challonge。"); sendResponse("正在上传玩家 " + player_name + " 至Challonge。");
challonge.participants.create({ challonge.participants.create({
id: challonge_config.tournament_id, id: challonge_config.tournament_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment