fix: Wrong text for Error.
This commit is contained in:
parent
7a308f0383
commit
ffc3f0e998
@ -31,7 +31,7 @@ module.exports = class CaptchaSolver {
|
||||
}
|
||||
}
|
||||
case 'nopecha': {
|
||||
if (!key || typeof key !== 'string') throw new Error('2captcha key is not provided');
|
||||
if (!key || typeof key !== 'string') throw new Error('Nopecha key is not provided');
|
||||
try {
|
||||
const { Configuration, NopeCHAApi } = require('nopecha');
|
||||
const configuration = new Configuration({
|
||||
|
Loading…
Reference in New Issue
Block a user