Skip to content

Commit

Permalink
Merge pull request #332 from Token07/revert-e7c3309
Browse files Browse the repository at this point in the history
Revert "Fixed patch note checker again"
  • Loading branch information
Token07 authored Jul 26, 2024
2 parents 5ef8add + 2d53db8 commit e247d0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/VersionChecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export default class VersionChecker {
let newPatch = false;

do {
nextMinor++; // https://www.leagueoflegends.com/en-us/news/game-updates/lol-patch-14-13-notes/
patchNotes = `https://www.leagueoflegends.com/en-us/news/game-updates/lol-patch-${nextMajor.toString()}-${nextMinor.toString()}-notes/`;
nextMinor++;
patchNotes = `https://www.leagueoflegends.com/en-us/news/game-updates/patch-${nextMajor.toString()}-${nextMinor.toString()}-notes/`;
tries++;

let response = await fetch(patchNotes, {
Expand All @@ -120,7 +120,7 @@ export default class VersionChecker {
nextMajor++;
nextMinor = 1;

patchNotes = `https://www.leagueoflegends.com/en-us/news/game-updates/lol-patch-${nextMajor.toString()}-${nextMinor.toString()}-notes/`;
patchNotes = `https://www.leagueoflegends.com/en-us/news/game-updates/patch-${nextMajor.toString()}-${nextMinor.toString()}-notes/`;
tries++;

response = await fetch(patchNotes, {
Expand Down

0 comments on commit e247d0f

Please sign in to comment.