From 5543660abc9daf796d186d3a7fc512c62922a9ba Mon Sep 17 00:00:00 2001 From: Steffany Brown <30247553+steffnay@users.noreply.github.com> Date: Mon, 11 Apr 2022 13:59:38 -0700 Subject: [PATCH] docs(samples): update optional header format (#257) --- samples/append_rows_pending.js | 2 +- samples/append_rows_proto2.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/append_rows_pending.js b/samples/append_rows_pending.js index b4f923fd..064b4d7f 100644 --- a/samples/append_rows_pending.js +++ b/samples/append_rows_pending.js @@ -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); diff --git a/samples/append_rows_proto2.js b/samples/append_rows_proto2.js index 79205872..5fd0f3c2 100644 --- a/samples/append_rows_proto2.js +++ b/samples/append_rows_proto2.js @@ -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);