Skip to content

Commit

Permalink
update records
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Balcaen committed Apr 5, 2024
1 parent bde86d2 commit 15e59d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambdas/rich_pdf_ingestion/src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def fetch_file(bucket, key):

def lambda_handler(event, context):
print(event)
records = json.loads(event["Records"][0]["body"])["Records"]
records = json.loads(event["Records"])
for record in records:
eventName = record["eventName"]
print(f"eventName: {eventName}")
Expand Down

0 comments on commit 15e59d3

Please sign in to comment.