Skip to content

Commit c95383b

Browse files
authored
Merge branch 'main' into raw-text-mime-type-mapping
2 parents 616cabc + e8c6cea commit c95383b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/list_options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (opts *ListOptions) setEnginePagination(e Engine) Engine {
4141
func (opts *ListOptions) GetStartEnd() (start, end int) {
4242
opts.setDefaultValues()
4343
start = (opts.Page - 1) * opts.PageSize
44-
end = start + opts.Page
44+
end = start + opts.PageSize
4545
return
4646
}
4747

0 commit comments

Comments
 (0)