Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
retreive message
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie.Brown authored and Jamie.Brown committed Mar 5, 2020
1 parent a8e2871 commit 7ebef4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions emojiReact.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions post.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ async function postUpdate({ text, channel }) {
} else {
console.log("Unexpected error in postUpdate()");
}

console.log("hello");
}
}

Expand Down

0 comments on commit 7ebef4a

Please sign in to comment.