Skip to content

Commit a05bcbf

Browse files
committed
controllers/helpers/pagination: Update the seek parameter descriptions
1 parent 3f142f8 commit a05bcbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/controllers/helpers/pagination.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ pub struct PaginationQueryParams {
8787
/// all requests.
8888
///
8989
/// The seek key can usually be found in the `meta.next_page` field of
90-
/// paginated responses.
90+
/// paginated responses. It can also be found in the `meta.prev_page` field
91+
/// when the endpoint supports backward pagination, in which case the value
92+
/// starts with a `-`.
9193
pub seek: Option<String>,
9294
}
9395

0 commit comments

Comments
 (0)