Skip to content

Commit

Permalink
Update messagebody reference
Browse files Browse the repository at this point in the history
  • Loading branch information
olamide committed Mar 28, 2024
1 parent dea5b9b commit 661eaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda-script/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def lambda_handler(event, context):

messageBodyExtra.update(dict(subject=snsSubject))

messageBody = messageBody.get("message", "")
messageBody = messageBodyExtra.get("message", "")

if messageBody == "":
messageBody = snsSubject
Expand Down

0 comments on commit 661eaf8

Please sign in to comment.