From 29a0f31afefbf9612d67a68fe440d9854046c84a Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:40:35 -0800 Subject: [PATCH 1/3] docs(samples): added comment to webhook sample --- samples/snippets/webhook.py | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/snippets/webhook.py b/samples/snippets/webhook.py index 0d85280e..505008a8 100644 --- a/samples/snippets/webhook.py +++ b/samples/snippets/webhook.py @@ -15,6 +15,7 @@ # [START dialogflow_cx_webhook] +# TODO: change entry point to handle_webhook in cloud function def handle_webhook(request): From 66039e7a2d180095c5af6dd664dde36c776f3ee0 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:56:27 -0800 Subject: [PATCH 2/3] Update samples/snippets/webhook.py Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com> --- samples/snippets/webhook.py | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/snippets/webhook.py b/samples/snippets/webhook.py index 505008a8..9f8934ff 100644 --- a/samples/snippets/webhook.py +++ b/samples/snippets/webhook.py @@ -17,6 +17,7 @@ # TODO: change entry point to handle_webhook in cloud function + def handle_webhook(request): req = request.get_json() From ab5fb399acf07691723cbfe97e9a906a80c14b89 Mon Sep 17 00:00:00 2001 From: Gal Zahavi <38544478+galz10@users.noreply.github.com> Date: Fri, 12 Nov 2021 14:57:59 -0800 Subject: [PATCH 3/3] comments fix --- 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 9f8934ff..143f11ee 100644 --- a/samples/snippets/webhook.py +++ b/samples/snippets/webhook.py @@ -15,7 +15,7 @@ # [START dialogflow_cx_webhook] -# TODO: change entry point to handle_webhook in cloud function +# TODO(developer): change entry point to handle_webhook in cloud function def handle_webhook(request):