Skip to content

Commit 4e39782

Browse files
author
Veronika Matyus
committed
Unify variable names to documentAsByteStream
1 parent b81b399 commit 4e39782

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/examples/src/js/UpdateDoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const updateDoc = async () => {
3737
).result;
3838

3939
// Note: for response byte stream use:
40-
// const documentAsStream = (
40+
// const documentAsByteStream = (
4141
// await client.getDocumentAsStream({
4242
// docId: 'example',
4343
// db: exampleDbName,

test/examples/src/ts/UpdateDoc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const getDocParams: CloudantV1.GetDocumentParams = {
4242
// };
4343
// client
4444
// .getDocumentAsStream(getdocAsStreamParam)
45-
// .then((documentAsStream) => {});
45+
// .then((documentAsByteStream) => {});
4646

4747
client
4848
.getDocument(getDocParams)

0 commit comments

Comments
 (0)