From 27f26c39dade31cc7182a0dbe3cf914b8619c241 Mon Sep 17 00:00:00 2001 From: brycegoh Date: Mon, 27 Nov 2023 18:33:47 +0800 Subject: [PATCH] fix: added request response invoke type --- fire-cloud/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fire-cloud/index.js b/fire-cloud/index.js index da49b2e..49604fa 100644 --- a/fire-cloud/index.js +++ b/fire-cloud/index.js @@ -180,6 +180,7 @@ async function invokeAnalytics(nodeId, rowId, temp, flameValue) { console.log("Invoking lambda function..."); const command = new InvokeCommand({ FunctionName: "greendot-analytics", + InvocationType: "RequestResponse", Payload: JSON.stringify({ nodeId: nodeId, rowId: rowId,