From 7ebef4a742682d5afbee9c578de5f47aab30882c Mon Sep 17 00:00:00 2001 From: "Jamie.Brown" Date: Thu, 5 Mar 2020 14:34:52 +0000 Subject: [PATCH] retreive message --- emojiReact.js | 2 ++ post.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/emojiReact.js b/emojiReact.js index ea2cbf3..f095c68 100644 --- a/emojiReact.js +++ b/emojiReact.js @@ -4,6 +4,8 @@ exports.emojiReact = async function(event, context) { console.log(JSON.stringify(event)); console.log(event.Records[0].Sns.Message); console.log(JSON.parse(event.Records[0].Sns.Message)); + console.log(JSON.parse(event.Records[0].Sns.Message)); + return { statusCode: 200, body: "success" diff --git a/post.js b/post.js index ae81252..ab82269 100644 --- a/post.js +++ b/post.js @@ -19,6 +19,8 @@ async function postUpdate({ text, channel }) { } else { console.log("Unexpected error in postUpdate()"); } + + console.log("hello"); } }