From dd05bd662ca19212b44e0e2d7ba9f105273dd9d8 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Fri, 15 Oct 2021 11:26:57 -0700 Subject: [PATCH 1/2] docs(samples): Added comments --- samples/snippets/webhook.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/snippets/webhook.py b/samples/snippets/webhook.py index 2a3b00be3..74c7ca0db 100644 --- a/samples/snippets/webhook.py +++ b/samples/snippets/webhook.py @@ -14,6 +14,9 @@ # returns fullfillment response for dialogflow detect_intent call # [START dialogflow_webhook] + +# TODO: Add handleWebhook to 'Entry point' in the Google Cloud Function + def handleWebhook(request): req = request.get_json() From 1edfb5a7139539f65e617ce5472ae9b6aa4de3a6 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Fri, 15 Oct 2021 13:27:14 -0700 Subject: [PATCH 2/2] changed comment --- samples/snippets/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/webhook.py b/samples/snippets/webhook.py index 74c7ca0db..0299170ca 100644 --- a/samples/snippets/webhook.py +++ b/samples/snippets/webhook.py @@ -15,7 +15,7 @@ # [START dialogflow_webhook] -# TODO: Add handleWebhook to 'Entry point' in the Google Cloud Function +# TODO: change the default Entry Point text to handleWebhook def handleWebhook(request):