Skip to content

Commit

Permalink
docs(samples): update optional header format (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
steffnay authored Apr 11, 2022
1 parent 606be61 commit 5543660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/append_rows_pending.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function main(
options.otherArgs.headers = {};
options.otherArgs.headers[
'x-goog-request-params'
] = `writeStream=${writeStream}`;
] = `write_stream=${writeStream}`;

// Append data to the given stream.
const stream = await writeClient.appendRows(options);
Expand Down
2 changes: 1 addition & 1 deletion samples/append_rows_proto2.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function main(
options.otherArgs.headers = {};
options.otherArgs.headers[
'x-goog-request-params'
] = `writeStream=${writeStream}`;
] = `write_stream=${writeStream}`;

// Append data to the given stream.
const stream = await writeClient.appendRows(options);
Expand Down

0 comments on commit 5543660

Please sign in to comment.