diff --git a/server/handle_repo_list_records.go b/server/handle_repo_list_records.go index d4d7f83..94d0444 100644 --- a/server/handle_repo_list_records.go +++ b/server/handle_repo_list_records.go @@ -84,7 +84,7 @@ func (s *Server) handleListRecords(e echo.Context) error { } var newcursor *string - if len(records) == 50 { + if len(records) == limit { newcursor = to.StringPtr(records[len(records)-1].CreatedAt) }