🐛 Fix cursor get wrong date
This commit is contained in:
parent
7a12d375c1
commit
f769c5c5b5
@ -92,7 +92,7 @@ func getRecommendationFeed(c *fiber.Ctx) error {
|
||||
|
||||
var cursorTime *time.Time
|
||||
if cursor > 0 {
|
||||
cursorTime = lo.ToPtr(time.Unix(int64(cursor), 0))
|
||||
cursorTime = lo.ToPtr(time.UnixMilli(int64(cursor)))
|
||||
}
|
||||
|
||||
var userId *uint
|
||||
|
Loading…
x
Reference in New Issue
Block a user