This commit is contained in:
lilyissillyyy
2025-10-12 18:49:32 -04:00
parent 17f49c4aea
commit 115c86c830
2 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -96,14 +96,13 @@ class Akinator {
params.append('session', this.session);
params.append('signature', this.signature);
params.append('forward_answer', '1');
const { body, text } = await request
const { body } = await request
.post(`https://${this.region}.akinator.com/exclude`)
.send(params.toString(), true)
.set({
'Content-Length': params.toString().length,
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
});
this.test = Buffer.from(text);
this.guessed = null;
this.stepLastProposition = body.step;
this.progress = body.progression;