Skip to content

Commit

Permalink
revert: restore order of limit/offset
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com>
  • Loading branch information
0x009922 committed Aug 23, 2024
1 parent 7a5dfb8 commit e9c5c73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions data_model/src/query/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ mod model {
"limit.map_or(\".inf\".to_owned(), |n| n.to_string())"
)]
pub struct Pagination {
/// start of indexing
pub offset: u64,
/// limit of indexing
pub limit: Option<NonZeroU64>,
/// start of indexing
pub offset: u64,
}

/// Struct for sorting requests
Expand Down
Binary file modified defaults/executor.wasm
Binary file not shown.
8 changes: 4 additions & 4 deletions docs/source/references/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2759,13 +2759,13 @@
},
"Pagination": {
"Struct": [
{
"name": "offset",
"type": "u64"
},
{
"name": "limit",
"type": "Option<NonZero<u64>>"
},
{
"name": "offset",
"type": "u64"
}
]
},
Expand Down

0 comments on commit e9c5c73

Please sign in to comment.