mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 21:44:48 +02:00
Fix?????
This commit is contained in:
@@ -89,7 +89,7 @@ class Akinator {
|
|||||||
}
|
}
|
||||||
if (!correct && keepGoing) {
|
if (!correct && keepGoing) {
|
||||||
const params = new URLSearchParams();
|
const params = new URLSearchParams();
|
||||||
params.append('step', this.currentStep.toString());
|
params.append('step', (this.currentStep + 1).toString());
|
||||||
params.append('sid', '1');
|
params.append('sid', '1');
|
||||||
params.append('cm', this.childMode);
|
params.append('cm', this.childMode);
|
||||||
params.append('progression', this.progress);
|
params.append('progression', this.progress);
|
||||||
@@ -100,7 +100,6 @@ class Akinator {
|
|||||||
.post(`https://${this.region}.akinator.com/exclude`)
|
.post(`https://${this.region}.akinator.com/exclude`)
|
||||||
.send(params.toString(), true)
|
.send(params.toString(), true)
|
||||||
.set({
|
.set({
|
||||||
Accept: 'application/json',
|
|
||||||
'Content-Length': params.toString().length,
|
'Content-Length': params.toString().length,
|
||||||
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
|
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user