Skip to content

Commit

Permalink
release: 1.4.9 (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb authored Mar 3, 2025
2 parents e24c3e8 + 2154b1b commit 4d292ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/gitanimals/rank/app/RankQueryFacade.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RankQueryFacade(
type: RankQueryRepository.Type,
): List<RankResponse> {
val rankWithIds =
rankQueryRepository.findAllRank(rankStartedAt = rank, limit = size, type = type)
rankQueryRepository.findAllRank(rankStartedAt = rank, limit = rank + size, type = type)
.associate { it.rank to it.id }
return when(type) {
WEEKLY_GUILD_CONTRIBUTIONS -> guildContributionRankService.findAllByRankIds(rankWithIds)
Expand Down

0 comments on commit 4d292ae

Please sign in to comment.