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
Alexander Prikhodko and galz10 authored Mar 29, 2022
1 parent 9714e58 commit 7b8af69
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 7b8af69

Please sign in to comment.