Skip to content

Commit

Permalink
Renamed lambda function parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
legendofa committed May 9, 2024
1 parent c16cb30 commit c8c1fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphql/model/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl User {
let sorting_doc = doc! {wishlist_order.field.unwrap_or_default().as_str(): i32::from(wishlist_order.direction.unwrap_or_default())};
let find_options = FindOptions::builder()
.skip(skip)
.limit(first.map(|first_u32| i64::from(first_u32)))
.limit(first.map(|definitely_first| i64::from(definitely_first)))
.sort(sorting_doc)
.build();
let document_collection = collection.clone_with_type::<Document>();
Expand Down

0 comments on commit c8c1fae

Please sign in to comment.