Skip to content

Commit

Permalink
BSON conversion bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
legendofa committed Jan 23, 2024
1 parent 15ccc7b commit 5966ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foreign_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ impl PartialOrd for ProductVariant {

impl From<ProductVariant> for Bson {
fn from(value: ProductVariant) -> Self {
Bson::Document(doc!("id": value._id))
Bson::Document(doc!("_id": value._id))
}
}

0 comments on commit 5966ab0

Please sign in to comment.