Commit Graph
2 Commits
Author SHA1 Message Date
Johan Brandhorst-Satzkorn af61b688c6 internal/listtoken: remove overzealous validation
Validating that the update time of the last item is after the
create time of the token cannot account for items whose
update time are earlier than the original query because of
the added database transaction timeout buffer. Remove the
check.
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn 3019038eab refreshtoken: move package to listtoken
The listtoken package encapsulates the logic used for all
types of pagination and refreshing across all list endpoints.
2024-01-05 07:43:20 -08:00