mirror of https://github.com/muety/wakapi.git
fix: cache key
This commit is contained in:
parent
41f6db8f34
commit
ffbcfc7467
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue