Skip to content

Commit

Permalink
docs: exports. removed from the cloud function's entry point (#244)
Browse files Browse the repository at this point in the history
Cloud function's entry point shouldn't be prefixed with `exports.`.

Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com>
  • Loading branch information
2 people authored and Ace Nassri committed Nov 17, 2022
1 parent 9921de2 commit f40f3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialogflow-cx/webhooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

// [START dialogflow_cx_webhook]

// TODO: change entry point to exports.handleWebhook in cloud function
// TODO: change entry point to handleWebhook in cloud function

exports.handleWebhook = (request, response) => {
const tag = request.body.fulfillmentInfo.tag;
Expand Down

0 comments on commit f40f3b8

Please sign in to comment.