Skip to content

Commit 3f0e7a3

Browse files
committed
stable api single quote
1 parent 298b2ce commit 3f0e7a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/includes/connect/connection-targets.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
uri = "<connection string>"
66

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

0 commit comments

Comments
 (0)