diff --git a/src/rest/RequestHandler.js b/src/rest/RequestHandler.js index 1c79161..1031f97 100644 --- a/src/rest/RequestHandler.js +++ b/src/rest/RequestHandler.js @@ -369,11 +369,7 @@ class RequestHandler { Sitekey : ${data.captcha_sitekey} rqToken : ${data.captcha_rqtoken}`, ); - const captcha = await this.manager.client.options.captchaSolver( - data.captcha_sitekey, - request.fullUserAgent, - data.captcha_rqtoken, - ); + const captcha = await this.manager.client.options.captchaSolver(data, request.fullUserAgent); this.manager.client.emit( DEBUG, `Captcha details: