From cefd46c49b4b5c3ca779321ebfd7d83a847c8900 Mon Sep 17 00:00:00 2001 From: Michael Morisi Date: Tue, 13 Aug 2024 14:20:55 -0400 Subject: [PATCH] DOCSP-42303: Update username/password placeholders (#987) --- source/swift.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/swift.txt b/source/swift.txt index ef00d0e94..41c824d7f 100644 --- a/source/swift.txt +++ b/source/swift.txt @@ -66,7 +66,7 @@ Connect to MongoDB Atlas } // replace the following string with your connection uri - let uri = "mongodb+srv://:@/test?w=majority" + let uri = "mongodb+srv://:@/test?w=majority" let client = try MongoClient(uri) // print a list of database names @@ -85,7 +85,7 @@ Connect to MongoDB Atlas let elg = MultiThreadedEventLoopGroup(numberOfThreads: 4) // replace the following string with your connection uri - let uri = "mongodb+srv://:@/test?w=majority" + let uri = "mongodb+srv://:@/test?w=majority" let client = try MongoClient( uri,