Skip to content

Commit f4c4bab

Browse files
committed
Updating code snippet format
1 parent b6dffe6 commit f4c4bab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/sql-api-nodejs-get-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Now that your app exists, you need to make sure it can talk to Azure Cosmos DB.
9090

9191
1. Copy and paste the ```database```, ```container```, and ```items``` data to your ```config``` object below where you set your ```config.endpoint``` and ```config.key``` properties. If you already have data you'd like to store in your database, you can use the Data Migration tool in Azure Cosmos DB rather than defining the data here. You config.js file should have the following code:
9292

93-
:::code language="csharp" source="~/cosmosdb-nodejs-get-started/config.js":::
93+
:::code language="javascript" source="~/cosmosdb-nodejs-get-started/config.js":::
9494

9595
JavaScript SDK uses the generic terms *container* and *item*. A container can be a collection, graph, or table. An item can be a document, edge/vertex, or row, and is the content inside a container.
9696

@@ -597,7 +597,7 @@ Deleting the created database will remove the database and all children resource
597597

598598
Altogether, your code should look like this:
599599

600-
:::code language="csharp" source="~/cosmosdb-nodejs-get-started/app.js":::
600+
:::code language="javascript" source="~/cosmosdb-nodejs-get-started/app.js":::
601601

602602
In your terminal, locate your ```app.js``` file and run the command:
603603

0 commit comments

Comments
 (0)