Skip to content

Commit 53d1e19

Browse files
Merge pull request #216908 from vmagelo/doc-fixes
Two word fixes.
2 parents 3bfa7d4 + ee2558c commit 53d1e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/mongodb/quickstart-nodejs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Create a doc with the *product* properties for the `adventureworks` database:
197197

198198
:::code language="javascript" source="~/samples-cosmosdb-mongodb-javascript/001-quickstart/index.js" id="new_doc":::
199199

200-
Create an doc in the collect by calling [``Collection.UpdateOne``](https://mongodb.github.io/node-mongodb-native/4.5/classes/Collection.html#updateOne). In this example, we chose to *upsert* instead of *create* a new doc in case you run this sample code more than once.
200+
Create an doc in the collection by calling [``Collection.UpdateOne``](https://mongodb.github.io/node-mongodb-native/4.5/classes/Collection.html#updateOne). In this example, we chose to *upsert* instead of *create* a new doc in case you run this sample code more than once.
201201

202202
### Get a doc
203203

@@ -217,7 +217,7 @@ Troubleshooting:
217217

218218
## Run the code
219219

220-
This app creates a API for MongoDB database and collection and creates a doc and then reads the exact same doc back. Finally, the example issues a query that should only return that single doc. With each step, the example outputs information to the console about the steps it has performed.
220+
This app creates an API for MongoDB database and collection and creates a doc and then reads the exact same doc back. Finally, the example issues a query that should only return that single doc. With each step, the example outputs information to the console about the steps it has performed.
221221

222222
To run the app, use a terminal to navigate to the application directory and run the application.
223223

0 commit comments

Comments
 (0)