Skip to content

Commit

Permalink
fix(functions): remove invalid parameter for gcloud functions (#3909)
Browse files Browse the repository at this point in the history
  • Loading branch information
iennae authored Oct 28, 2024
1 parent bdb7502 commit 5c5f335
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions functions/pubsub/publish/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ const pubsub = new PubSub();
/**
* Publishes a message to a Cloud Pub/Sub Topic.
*
* @example
* gcloud functions call publish --data '{"topic":"[YOUR_TOPIC_NAME]","message":"Hello, world!"}'
*
* - Replace `[YOUR_TOPIC_NAME]` with your Cloud Pub/Sub topic name.
*
* @param {object} req Cloud Function request context.
* @param {object} req.body The request body.
* @param {string} req.body.topic Topic name on which to publish.
Expand Down

0 comments on commit 5c5f335

Please sign in to comment.