Interesting

This commit is contained in:
lilyissillyyy
2025-10-12 17:55:45 -04:00
parent 2ca4f873fd
commit 08089061c4
+2 -2
View File
@@ -88,7 +88,7 @@ class Akinator {
return this; return this;
} }
if (!correct && keepGoing) { if (!correct && keepGoing) {
const { body } = await request const { body, text } = await request
.post(`https://${this.region}.akinator.com/exclude`) .post(`https://${this.region}.akinator.com/exclude`)
.send({ .send({
step: this.currentStep.toString(), step: this.currentStep.toString(),
@@ -98,7 +98,7 @@ class Akinator {
session: this.session, session: this.session,
signature: this.signature signature: this.signature
}); });
console.log(body); console.log(text);
this.guessed = null; this.guessed = null;
this.stepLastProposition = body.step; this.stepLastProposition = body.step;
this.progress = body.progression; this.progress = body.progression;