From ffc3f0e99897336a8be3a55a965f78d4ddfd8bfb Mon Sep 17 00:00:00 2001 From: NekoCyan Date: Sun, 4 Dec 2022 17:09:08 +0700 Subject: [PATCH] fix: Wrong text for Error. --- src/rest/CaptchaSolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rest/CaptchaSolver.js b/src/rest/CaptchaSolver.js index aa65a2a..de3e064 100644 --- a/src/rest/CaptchaSolver.js +++ b/src/rest/CaptchaSolver.js @@ -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({