Skip to content

Commit f73295b

Browse files
authored
Merge pull request #104121 from hogaku/patch-1
[javascript] Update source code to match the documentation
2 parents 2f461de + eb3c760 commit f73295b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ In the `index.js`, add the following code to use the resource **endpoint** and *
153153
154154
Add the following code to use the [``CosmosClient.Databases.createDatabaseIfNotExists``](/javascript/api/@azure/cosmos/databases#@azure-cosmos-databases-createifnotexists) method to create a new database if it doesn't already exist. This method will return a reference to the existing or newly created database.
155155

156-
:::code language="csharp" source="~/cosmos-db-sql-api-javascript-samples/001-quickstart/index.js" range="24-26":::
156+
:::code language="javascript" source="~/cosmos-db-sql-api-javascript-samples/001-quickstart/index.js" range="24-26":::
157157

158158
### Create a container
159159

0 commit comments

Comments
 (0)