Commit 622a03f7 authored by nanahira's avatar nanahira

fix

parent 86fffcae
...@@ -167,7 +167,7 @@ const UploadToChallonge = async function () { ...@@ -167,7 +167,7 @@ const UploadToChallonge = async function () {
await axios.post(`https://api.challonge.com/v1/tournaments/${challonge_config.tournament_id}/participants/bulk_add.json`, { await axios.post(`https://api.challonge.com/v1/tournaments/${challonge_config.tournament_id}/participants/bulk_add.json`, {
api_key: challonge_config.options.apiKey, api_key: challonge_config.options.apiKey,
participants: chunk.map(name => ({ name })), participants: chunk.map(name => ({ name })),
}, axiosPostConfig); });
} }
sendResponse("玩家列表上传完成。"); sendResponse("玩家列表上传完成。");
} catch (e) { } catch (e) {
......
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