Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
FGoessler committed Jan 10, 2025
1 parent 038f4d3 commit 0120366
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ pub async fn update_records<'conn>(
.take(match update_type {
UpdateType::Many { limit } => limit.unwrap_or(usize::MAX),
UpdateType::One => 1,
} as usize)
})
.map(|p| {
(&id_field, p.values().next().unwrap())
.into_bson()
Expand Down

0 comments on commit 0120366

Please sign in to comment.