Skip to content

Commit

Permalink
v1.3.8 - Fix captcha
Browse files Browse the repository at this point in the history
  • Loading branch information
kyan0045 authored Jan 21, 2025
1 parent 0729e6a commit a0a0839
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -762,7 +762,7 @@ async function Login(token, Client, guildId) {
},
{
headers: {
"api-key": `${config.CaptchaSolverKey}`,
"api-key": `${config.captchaSolvingKey}`,
},
}
)
Expand Down Expand Up @@ -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}`,
},
}
);
Expand Down

0 comments on commit a0a0839

Please sign in to comment.