From 346ce71d5a8f0ee56c79678c8031686980986eb8 Mon Sep 17 00:00:00 2001 From: kajo24 <67791504+karjo24@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:39:25 +0200 Subject: [PATCH] pagination fix Co-authored-by: Frank Elsinga --- dao/streams.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/streams.go b/dao/streams.go index 75cff09d4..c9e2888ae 100755 --- a/dao/streams.go +++ b/dao/streams.go @@ -250,7 +250,7 @@ func (d streamsDao) ExecAllStreamsWithCoursesAndSubtitlesBatched(f func([]Stream fmt.Println(err) } if err == nil { - lastSeenId = res[len(res)-1].ID + 1 + lastSeenId = res[len(res)-1].ID } f(res) batchNum++