Skip to content

Commit

Permalink
fix: try ocr more times because why the fuck not.
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustChew committed Sep 4, 2024
1 parent 54b5630 commit 04e1dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/headless_ais.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ export const signInToCCXP = async (
// throw new Error(LoginError.Unknown);
continue;
}
} while (tries <= 5);
if (tries == 6 || answer.length != 6) {
} while (tries <= 8);
if (tries == 9 || answer.length != 6) {
throw new Error("Internal Server Error");
}
console.log("Attempt Login");
Expand Down

0 comments on commit 04e1dac

Please sign in to comment.