From 9548857b5bda6b6a8f402cea5a7916057d9803df Mon Sep 17 00:00:00 2001 From: itzaname Date: Mon, 30 Jun 2025 19:42:57 -0400 Subject: [PATCH] Add missing state_id filter in rank list call --- pkg/api/handlers/rank.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/api/handlers/rank.go b/pkg/api/handlers/rank.go index 10e4b45..280f7fb 100644 --- a/pkg/api/handlers/rank.go +++ b/pkg/api/handlers/rank.go @@ -68,7 +68,8 @@ func (h *RankHandler) List(ctx *gin.Context) { Size: int32(query.PageSize), Number: int32(query.PageNumber), }, - Sort: int64(query.SortBy), + Sort: int64(query.SortBy), + StateID: []int32{0, 1}, }) if err != nil { ctx.JSON(http.StatusInternalServerError, dto.Error{ -- 2.49.1