From 34b8c03f90618ba6ae506764b9d97d9db84dcada Mon Sep 17 00:00:00 2001 From: DuyLX Date: Fri, 28 Jun 2024 02:18:10 +0700 Subject: [PATCH] fix(docs samples): update missing argv in sample metadata for push subscription (#1946) Co-authored-by: Megan Potter <57276408+feywind@users.noreply.github.com> --- samples/README.md | 4 ++-- samples/createPushSubscription.js | 2 +- samples/createPushSubscriptionNoWrapper.js | 2 +- samples/typescript/createPushSubscription.ts | 2 +- samples/typescript/createPushSubscriptionNoWrapper.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/README.md b/samples/README.md index b1b445b2a..8b4036b55 100644 --- a/samples/README.md +++ b/samples/README.md @@ -207,7 +207,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam __Usage:__ -`node createPushSubscription.js ` +`node createPushSubscription.js ` ----- @@ -226,7 +226,7 @@ View the [source code](https://github.com/googleapis/nodejs-pubsub/blob/main/sam __Usage:__ -`node createPushSubscriptionNoWrapper.js ` +`node createPushSubscriptionNoWrapper.js ` ----- diff --git a/samples/createPushSubscription.js b/samples/createPushSubscription.js index 10115b98f..aa9623e80 100644 --- a/samples/createPushSubscription.js +++ b/samples/createPushSubscription.js @@ -27,7 +27,7 @@ // sample-metadata: // title: Create Push Subscription // description: Creates a new push subscription. -// usage: node createPushSubscription.js +// usage: node createPushSubscription.js // [START pubsub_create_push_subscription] /** diff --git a/samples/createPushSubscriptionNoWrapper.js b/samples/createPushSubscriptionNoWrapper.js index c26f1080a..fcf70cb6b 100644 --- a/samples/createPushSubscriptionNoWrapper.js +++ b/samples/createPushSubscriptionNoWrapper.js @@ -27,7 +27,7 @@ // sample-metadata: // title: Create Push Subscription With No Wrapper // description: Creates a new push subscription, but disables wrapping for payloads. -// usage: node createPushSubscriptionNoWrapper.js +// usage: node createPushSubscriptionNoWrapper.js // [START pubsub_create_unwrapped_push_subscription] /** diff --git a/samples/typescript/createPushSubscription.ts b/samples/typescript/createPushSubscription.ts index 808f3aa8c..bc36cf782 100644 --- a/samples/typescript/createPushSubscription.ts +++ b/samples/typescript/createPushSubscription.ts @@ -23,7 +23,7 @@ // sample-metadata: // title: Create Push Subscription // description: Creates a new push subscription. -// usage: node createPushSubscription.js +// usage: node createPushSubscription.js // [START pubsub_create_push_subscription] /** diff --git a/samples/typescript/createPushSubscriptionNoWrapper.ts b/samples/typescript/createPushSubscriptionNoWrapper.ts index f0d97e33c..550688d59 100644 --- a/samples/typescript/createPushSubscriptionNoWrapper.ts +++ b/samples/typescript/createPushSubscriptionNoWrapper.ts @@ -23,7 +23,7 @@ // sample-metadata: // title: Create Push Subscription With No Wrapper // description: Creates a new push subscription, but disables wrapping for payloads. -// usage: node createPushSubscriptionNoWrapper.js +// usage: node createPushSubscriptionNoWrapper.js // [START pubsub_create_unwrapped_push_subscription] /**