Commit df574be9 authored by nanahira's avatar nanahira

upload deck one by one

parent 8850ea8a
......@@ -159,7 +159,7 @@ var UploadToChallonge = function () {
}
sendResponse("读取玩家列表完毕,共有" + player_list.length + "名玩家。");
sendResponse("开始上传玩家列表至Challonge。");
_async.each(player_list, (player_name, done) => {
_async.eachSeries(player_list, (player_name, done) => {
sendResponse("正在上传玩家 " + player_name + " 至Challonge。");
challonge.participants.create({
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