Update RequestHandler.js

This commit is contained in:
Elysia 2024-01-12 23:35:29 +07:00
parent 6fbf181d20
commit 0c42a5b409

View File

@ -369,11 +369,7 @@ class RequestHandler {
Sitekey : ${data.captcha_sitekey} Sitekey : ${data.captcha_sitekey}
rqToken : ${data.captcha_rqtoken}`, rqToken : ${data.captcha_rqtoken}`,
); );
const captcha = await this.manager.client.options.captchaSolver( const captcha = await this.manager.client.options.captchaSolver(data, request.fullUserAgent);
data.captcha_sitekey,
request.fullUserAgent,
data.captcha_rqtoken,
);
this.manager.client.emit( this.manager.client.emit(
DEBUG, DEBUG,
`Captcha details: `Captcha details: