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:
parent
41f6db8f34
commit
ffbcfc7467
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user