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

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