1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: cache key

This commit is contained in:
Ferdinand Mütsch 2022-10-19 17:23:40 +02:00
parent 41f6db8f34
commit ffbcfc7467

View File

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