fix: solve captcha
This commit is contained in:
parent
a3ce786fe6
commit
6be4c4b077
@ -356,7 +356,7 @@ class RequestHandler {
|
|||||||
data?.captcha_service &&
|
data?.captcha_service &&
|
||||||
this.manager.client.options.captchaService &&
|
this.manager.client.options.captchaService &&
|
||||||
request.retries < 4 &&
|
request.retries < 4 &&
|
||||||
captchaMessage.includes(data.captcha_key[0])
|
captchaMessage.some(s => data.captcha_key[0].includes(s))
|
||||||
) {
|
) {
|
||||||
// Retry the request after a captcha is solved
|
// Retry the request after a captcha is solved
|
||||||
this.manager.client.emit(
|
this.manager.client.emit(
|
||||||
|
Loading…
Reference in New Issue
Block a user