From f40f3b8359db9fd27d0e4a380e4c1b2a24548bf9 Mon Sep 17 00:00:00 2001 From: Alexander Prikhodko Date: Tue, 29 Mar 2022 22:05:24 +0100 Subject: [PATCH] docs: `exports.` removed from the cloud function's entry point (#244) Cloud function's entry point shouldn't be prefixed with `exports.`. Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com> --- dialogflow-cx/webhooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dialogflow-cx/webhooks.js b/dialogflow-cx/webhooks.js index 63a683d64b..c7bab5faf1 100644 --- a/dialogflow-cx/webhooks.js +++ b/dialogflow-cx/webhooks.js @@ -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;