Skip to content

Commit

Permalink
fix empty clear
Browse files Browse the repository at this point in the history
  • Loading branch information
purerosefallen committed Jul 2, 2022
1 parent f030069 commit b537ff4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ygopro-tournament.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ const UploadToChallonge = async function () {
await axios.delete(`https://api.challonge.com/v1/tournaments/${challonge_config.tournament_id}/participants/clear.json`, {
params: {
api_key: challonge_config.api_key
}
},
validateStatus: () => true,
});
sendResponse("开始上传玩家列表至 Challonge。");
for (const chunk of _.chunk(player_list, 10)) {
Expand Down

0 comments on commit b537ff4

Please sign in to comment.