diff --git a/source/fundamentals/connection/csot.txt b/source/fundamentals/connection/csot.txt index b92d87b08..3f97e5e9c 100644 --- a/source/fundamentals/connection/csot.txt +++ b/source/fundamentals/connection/csot.txt @@ -50,7 +50,7 @@ The following code examples use the ``timeoutMS`` option to specify a timeout of .. code-block:: javascript :emphasize-lines: 2 - const uri = "mongodb://"; + const uri = "mongodb://:"; const client = new MongoClient(uri, { timeoutMS: 30000 }); .. tab:: Connection String @@ -59,7 +59,7 @@ The following code examples use the ``timeoutMS`` option to specify a timeout of .. code-block:: javascript :emphasize-lines: 1 - const uri = "mongodb://?timeoutMS=30000"; + const uri = "mongodb://:?timeoutMS=30000"; const client = new MongoClient(uri); .. note::