From 673624ae76fc95659607cee38c9a7293317f8f39 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Fri, 4 Oct 2024 17:02:08 -0700 Subject: [PATCH] fix daily api calls in daily-run-scorebard --- src/ui/daily-run-scoreboard.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/daily-run-scoreboard.ts b/src/ui/daily-run-scoreboard.ts index 35a26110faa..c844b625354 100644 --- a/src/ui/daily-run-scoreboard.ts +++ b/src/ui/daily-run-scoreboard.ts @@ -192,9 +192,9 @@ export class DailyRunScoreboard extends Phaser.GameObjects.Container { } Utils.executeIf(category !== this.category || this.pageCount === undefined, - () => pokerogueApi.daily.getRankingsPageCount(category).then(count => this.pageCount = count) + () => pokerogueApi.daily.getRankingsPageCount({ category }).then(count => this.pageCount = count) ).then(() => { - pokerogueApi.daily.getRankings(category, page) + pokerogueApi.daily.getRankings({ category, page }) .then(rankings => { this.page = page; this.category = category;