Commit 35c7cea8 authored by nanahira's avatar nanahira

Merge branch 'mc'

parents 737e2052 5cda4475
Pipeline #1530 passed with stages
in 23 minutes and 42 seconds
...@@ -568,10 +568,10 @@ init = () -> ...@@ -568,10 +568,10 @@ init = () ->
try try
await axios.post(settings.modules.random_duel.post_match_scores, { await axios.post(settings.modules.random_duel.post_match_scores, {
headers: { 'content-type': 'application/x-www-form-urlencoded' }, headers: { 'content-type': 'application/x-www-form-urlencoded' },
responseType: "json",
data: qs.stringify({ data: qs.stringify({
accesskey: settings.modules.random_duel.post_match_accesskey, accesskey: settings.modules.random_duel.post_match_accesskey,
rank: JSON.stringify(scores) rank: JSON.stringify(scores)
responseType: "json"
}) })
}) })
catch e catch e
......
...@@ -734,10 +734,10 @@ ...@@ -734,10 +734,10 @@
headers: { headers: {
'content-type': 'application/x-www-form-urlencoded' 'content-type': 'application/x-www-form-urlencoded'
}, },
responseType: "json",
data: qs.stringify({ data: qs.stringify({
accesskey: settings.modules.random_duel.post_match_accesskey, accesskey: settings.modules.random_duel.post_match_accesskey,
rank: JSON.stringify(scores), rank: JSON.stringify(scores)
responseType: "json"
}) })
}); });
} catch (error1) { } 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