Skip to content

Commit

Permalink
docs: correct example usage of SES data class
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom McCarthy committed Nov 19, 2020
1 parent 7b8fd7c commit 4fe50e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/utilities/data_classes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def lambda_handler(event, context):
# Multiple records can be delivered in a single event
for record in event.records:
mail = record.ses.mail
common_headers = list(mail.common_headers)
common_headers = mail.common_headers

do_something_with(common_headers.to, common_headers.subject)

Expand Down

0 comments on commit 4fe50e8

Please sign in to comment.