Skip to content

Commit fab8057

Browse files
committed
providers.py: Fixed issue with Message.body field
1 parent 708f0be commit fab8057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tempmail/providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def from_dict(cls, mail: 'OneSecMail', msg: dict[str, any]) -> 'OneSecMail.Messa
128128
from_addr=msg['from'],
129129
subject=msg['subject'],
130130
date_str=msg['date'],
131-
body=msg['textBody'],
131+
body=msg['body'],
132132
text_body=msg['textBody'],
133133
html_body=msg['htmlBody'],
134134
)

0 commit comments

Comments
 (0)