Skip to content

Commit

Permalink
pagination fix
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Elsinga <[email protected]>
  • Loading branch information
karjo24 and CommanderStorm authored Oct 16, 2024
1 parent 460173a commit 346ce71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dao/streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down

0 comments on commit 346ce71

Please sign in to comment.