Skip to content

Commit

Permalink
Log incoming event
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jul 20, 2024
1 parent 05eff10 commit 94c89fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions container/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const runners = {
};

const handler = async (event) => {
console.log(JSON.stringify(event, null, 2));
const language = event.language.toUpperCase();

if (!Object.keys(LANGUAGE).includes(language)) {
Expand Down

0 comments on commit 94c89fb

Please sign in to comment.