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,