Skip to content

Commit

Permalink
fix broken logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jamis committed Oct 20, 2023
1 parent 7236fb8 commit f534557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mongo/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def insert_one(document, opts = {})
db_name: database.name,
coll_name: name,
write_concern: write_concern,
bypass_document_validation: !opts[:bypass_document_validation],
bypass_document_validation: opts[:bypass_document_validation],
options: opts,
id_generator: client.options[:id_generator],
session: session,
Expand Down

0 comments on commit f534557

Please sign in to comment.