Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mia-pi-git committed Aug 22, 2024
1 parent 7ea985e commit 5bade37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/chat-plugins/seasons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export async function updateBadgeholders() {
if (!data.badgeholders[period]) {
data.badgeholders[period] = {};
}
for (const formatName of data.formatSchedule[period]) {
for (const formatName of data.formatSchedule[findPeriod()]) {
const formatid = `gen${Dex.gen}${formatName}`;
const response = await getLadderTop(formatid);
if (!response) continue; // ??
Expand Down

0 comments on commit 5bade37

Please sign in to comment.