Commit 5cda4475 authored by nanahira's avatar nanahira

fix

parent 38ead1ed
......@@ -497,10 +497,10 @@ init = () ->
try
await axios.post(settings.modules.random_duel.post_match_scores, {
headers: { 'content-type': 'application/x-www-form-urlencoded' },
responseType: "json",
data: qs.stringify({
accesskey: settings.modules.random_duel.post_match_accesskey,
rank: JSON.stringify(scores)
responseType: "json"
})
})
catch e
......
......@@ -636,10 +636,10 @@
headers: {
'content-type': 'application/x-www-form-urlencoded'
},
responseType: "json",
data: qs.stringify({
accesskey: settings.modules.random_duel.post_match_accesskey,
rank: JSON.stringify(scores),
responseType: "json"
rank: JSON.stringify(scores)
})
});
} catch (error1) {
......
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