From c66400d4779bddde073c4a8356ee1692581c54bc Mon Sep 17 00:00:00 2001 From: Julien Lengrand-Lambert Date: Mon, 3 Aug 2020 21:14:41 +0200 Subject: [PATCH] Moving to local API --- sdk/webhooks/ActionsOnGoogleFulfillment.yaml | 5 +++-- sdk/webhooks/ActionsOnGoogleFulfillment/index.js | 3 +-- sdk/webhooks/ActionsOnGoogleFulfillment/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/webhooks/ActionsOnGoogleFulfillment.yaml b/sdk/webhooks/ActionsOnGoogleFulfillment.yaml index 4a86c4f..1648513 100644 --- a/sdk/webhooks/ActionsOnGoogleFulfillment.yaml +++ b/sdk/webhooks/ActionsOnGoogleFulfillment.yaml @@ -1,5 +1,6 @@ handlers: - name: start_scene_initial_prompt - name: create_github_repository -inlineCloudFunction: - executeFunction: ActionsOnGoogleFulfillment +httpsEndpoint: + baseUrl: https://fae5efdc81b9.ngrok.io + endpointApiVersion: 2 diff --git a/sdk/webhooks/ActionsOnGoogleFulfillment/index.js b/sdk/webhooks/ActionsOnGoogleFulfillment/index.js index 00e1826..0307e7a 100644 --- a/sdk/webhooks/ActionsOnGoogleFulfillment/index.js +++ b/sdk/webhooks/ActionsOnGoogleFulfillment/index.js @@ -77,5 +77,4 @@ app.handle('create_github_repository', (conv) => { }) }); -exports.ActionsOnGoogleFulfillment = functions.https.onRequest(app); - +exports.ActionsOnGoogleFulfillment = functions.https.onRequest(app); \ No newline at end of file diff --git a/sdk/webhooks/ActionsOnGoogleFulfillment/package.json b/sdk/webhooks/ActionsOnGoogleFulfillment/package.json index 1a09c87..db07a03 100644 --- a/sdk/webhooks/ActionsOnGoogleFulfillment/package.json +++ b/sdk/webhooks/ActionsOnGoogleFulfillment/package.json @@ -21,4 +21,4 @@ "eslint": "^5.2.0", "eslint-config-google": "^0.9.1" } -} +} \ No newline at end of file