fix: cache key

This commit is contained in:
Ferdinand Mütsch 2022-10-19 17:23:40 +02:00
parent 41f6db8f34
commit ffbcfc7467
1 changed files with 1 additions and 1 deletions

View File

@ -214,6 +214,6 @@ func (srv *LeaderboardService) getHash(interval *models.IntervalKey, by *uint8,
if by != nil && !reflect.ValueOf(by).IsNil() {
k += "__" + models.GetEntityColumn(*by)
}
k = "__" + strconv.Itoa(pageParams.Page) + "__" + strconv.Itoa(pageParams.PageSize)
k += "__" + strconv.Itoa(pageParams.Page) + "__" + strconv.Itoa(pageParams.PageSize)
return k
}