🐛 Try to fix cursor return last same content
This commit is contained in:
parent
1b4d7822ed
commit
8e33b99bca
@ -92,7 +92,7 @@ func getRecommendationFeed(c *fiber.Ctx) error {
|
||||
|
||||
var cursorTime *time.Time
|
||||
if cursor > 0 {
|
||||
cursorTime = lo.ToPtr(time.UnixMilli(int64(cursor)))
|
||||
cursorTime = lo.ToPtr(time.UnixMilli(int64(cursor) + 1))
|
||||
}
|
||||
|
||||
var userId *uint
|
||||
|
Loading…
x
Reference in New Issue
Block a user