From a0a083925e5d6fe5680c0b6100f2c771f9ff61d0 Mon Sep 17 00:00:00 2001 From: Kyan Bosman <84374752+kyan0045@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:01:58 +0100 Subject: [PATCH] v1.3.8 - Fix captcha --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 3c56111..9d45d45 100644 --- a/index.js +++ b/index.js @@ -749,7 +749,7 @@ async function Login(token, Client, guildId) { isOnBreak = true; captcha = true; - if (config.CaptchaSolverKey) { + if (config.captchaSolvingKey) { // Declare a global variable for taskid let globalTaskId; @@ -762,7 +762,7 @@ async function Login(token, Client, guildId) { }, { headers: { - "api-key": `${config.CaptchaSolverKey}`, + "api-key": `${config.captchaSolvingKey}`, }, } ) @@ -790,7 +790,7 @@ async function Login(token, Client, guildId) { `https://api.catchtwo.online/check-result/${globalTaskId}`, { headers: { - "api-key": `${config.CaptchaSolverKey}`, + "api-key": `${config.captchaSolvingKey}`, }, } );