Skip to content

Commit

Permalink
removing log
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanwrightAND committed Apr 24, 2024
1 parent 20c4eee commit 72487c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ const updateElasticIndex = async (contentfulEntry, action) => {
export const handler = async (data) => {
console.log('Data: ', data);
for (const record of data.Records) {
console.log('Message Recieved: ', message);
if (!record.body || !record.body.contentfulEntryId || !record.body.type)
throw new Error(`Invalid Message: ${record.body}`);

Expand Down

0 comments on commit 72487c6

Please sign in to comment.