Skip to content

Commit 5c5f335

Browse files
authored
fix(functions): remove invalid parameter for gcloud functions (#3909)
1 parent bdb7502 commit 5c5f335

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

functions/pubsub/publish/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ const pubsub = new PubSub();
2323
/**
2424
* Publishes a message to a Cloud Pub/Sub Topic.
2525
*
26-
* @example
27-
* gcloud functions call publish --data '{"topic":"[YOUR_TOPIC_NAME]","message":"Hello, world!"}'
28-
*
29-
* - Replace `[YOUR_TOPIC_NAME]` with your Cloud Pub/Sub topic name.
30-
*
3126
* @param {object} req Cloud Function request context.
3227
* @param {object} req.body The request body.
3328
* @param {string} req.body.topic Topic name on which to publish.

0 commit comments

Comments
 (0)