Add missing state_id filter in rank list call #8

Merged
itzaname merged 1 commits from staging into master 2025-06-30 23:44:12 +00:00

View File

@@ -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{