We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb2c5c5 commit e56b5c3Copy full SHA for e56b5c3
test/examples/src/ts/UpdateDoc.ts
@@ -58,10 +58,10 @@ client
58
59
// Update the document in the database
60
client
61
- .postDocument({ db: exampleDbName, document })
+ .postDocument({ db: exampleDbName, document: document })
62
// Note: for byte request (Input Stream) use:
63
// .postDocument(
64
- // {db: exampleDbName, documentAsStream}
+ // {db: exampleDbName, document: documentAsStream}
65
// )
66
.then((res) => {
67
// Keeping track with the revision number of the document object:
0 commit comments