Skip to content

Commit

Permalink
stable api single quote
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseymoore committed Jan 16, 2025
1 parent 298b2ce commit 3f0e7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/includes/connect/connection-targets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
uri = "<connection string>"

# Sets the server_api field of the options object to Stable API version 1
options = { server_api: { version: "1" } }
options = { server_api: { version: '1' } }
# Creates a new client and connect to the server
client = Mongo::Client.new(uri, options)
# Sends a ping to confirm a successful connection
Expand Down

0 comments on commit 3f0e7a3

Please sign in to comment.