Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagaprasadvr committed Dec 30, 2024
1 parent 2051c14 commit 96076fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion das_api/src/api/api_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl DasApi {

page_opt.limit = limit.map(|x| x as u64).unwrap_or(1000);
if is_cursor_enabled {
if let Some(_) = &sorting {
if sorting.is_some() {
page_opt.cursor = Some(self.get_cursor(cursor)?);
}
} else {
Expand Down

0 comments on commit 96076fa

Please sign in to comment.