Merge pull request #428 from NekoCyan/main

fix: Wrong text for Error.
This commit is contained in:
Elysia 2022-12-04 17:10:43 +07:00 committed by GitHub
commit e0b6265aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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({