Skip to content

Commit 4fe50e8

Browse files
author
Tom McCarthy
committed
docs: correct example usage of SES data class
1 parent 7b8fd7c commit 4fe50e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/content/utilities/data_classes.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def lambda_handler(event, context):
207207
# Multiple records can be delivered in a single event
208208
for record in event.records:
209209
mail = record.ses.mail
210-
common_headers = list(mail.common_headers)
210+
common_headers = mail.common_headers
211211

212212
do_something_with(common_headers.to, common_headers.subject)
213213

0 commit comments

Comments
 (0)