Skip to content

Commit

Permalink
Merge pull request #330 from dysolix/patch-note-checker-fix
Browse files Browse the repository at this point in the history
Patch note checker fix
  • Loading branch information
Querijn authored Jul 3, 2024
2 parents 2eda43f + ceef763 commit e87f503
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++;
patchNotes = `https://www.leagueoflegends.com/en-us/news/game-updates/patch-${nextMajor.toString()}-${nextMinor.toString()}-notes/`;
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/`;
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/patch-${nextMajor.toString()}-${nextMinor.toString()}-notes/`;
patchNotes = `https://www.leagueoflegends.com/en-us/news/game-updates/lol-patch-${nextMajor.toString()}-${nextMinor.toString()}-notes/`;
tries++;

response = await fetch(patchNotes, {
Expand Down

0 comments on commit e87f503

Please sign in to comment.