[Bug] Boss results not returning correctly for `seasonal` gamemode
Closed this issue · 2 comments
Not-Jayden commented
When calling hiscores.getStatsByGamemode()
with seasonal
as the gamemode, the results become offset at some point.
I believe it might be due to Tempoross not being added to the API result for the last leagues season, but I'm not entirely sure.
If you look at a main hiscores API result vs the seasonal hiscores, you'll see there is one additional entry when comparing them.
And if you call hiscores.getStatsByGamemode('mofoe', 'seasonal')
for that player, you'll notice that what should be the result for zulrah is instead under zulcano.
Not-Jayden commented
Fix for your review #35
maxswa commented
Fixed and published as osrs-json-hiscores@2.5.1
https://github.com/maxswa/osrs-json-hiscores/releases/tag/v2.5.1
Thanks again for your contribution!