Commit 799f720b authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 260253aa b537ff49
Pipeline #15646 passed with stages
in 12 minutes and 47 seconds
...@@ -159,7 +159,8 @@ const UploadToChallonge = async function () { ...@@ -159,7 +159,8 @@ const UploadToChallonge = async function () {
await axios.delete(`https://api.challonge.com/v1/tournaments/${challonge_config.tournament_id}/participants/clear.json`, { await axios.delete(`https://api.challonge.com/v1/tournaments/${challonge_config.tournament_id}/participants/clear.json`, {
params: { params: {
api_key: challonge_config.api_key api_key: challonge_config.api_key
} },
validateStatus: () => true,
}); });
sendResponse("开始上传玩家列表至 Challonge。"); sendResponse("开始上传玩家列表至 Challonge。");
for (const chunk of _.chunk(player_list, 10)) { for (const chunk of _.chunk(player_list, 10)) {
......
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