Skip to content

Commit c9cdbd0

Browse files
authored
Merge pull request #44176 from dzsquared/master
fix for partition key in sample code
2 parents 5d27cae + 6755f33 commit c9cdbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/sql-api-nodejs-application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Now that you have completed the initial setup and configuration, next you will w
111111
const debug = require('debug')('todo:taskDao')
112112

113113
// For simplicity we'll set a constant partition key
114-
const partitionKey = '0'
114+
const partitionKey = undefined
115115
class TaskDao {
116116
/**
117117
* Manages reading, adding, and updating Tasks in Cosmos DB

0 commit comments

Comments
 (0)