sdfd
This commit is contained in:
@@ -103,7 +103,6 @@ class CaptchaComp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resolveCaptcha(driver) {
|
resolveCaptcha(driver) {
|
||||||
if (this.api.working === false) {
|
|
||||||
return this.api.working ? new Promise(r => r(new Error('Resovling Catpcha'))) : this.requestResolve(driver)
|
return this.api.working ? new Promise(r => r(new Error('Resovling Catpcha'))) : this.requestResolve(driver)
|
||||||
.then(id => this.getAnswer(id))
|
.then(id => this.getAnswer(id))
|
||||||
.then(res => {
|
.then(res => {
|
||||||
@@ -113,6 +112,5 @@ class CaptchaComp {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = new CaptchaComp
|
module.exports = new CaptchaComp
|
||||||
Reference in New Issue
Block a user