Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 708f0be

Browse filesBrowse files
committed
Renamed Message.test_body to Message.text_body
1 parent 81d3616 commit 708f0be
Copy full SHA for 708f0be

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎tempmail/providers.py

Copy file name to clipboardExpand all lines: tempmail/providers.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Message:
106106
subject: str
107107
date_str: str
108108
body: str
109-
test_body: str
109+
text_body: str
110110
html_body: str
111111
_mail: 'OneSecMail'
112112
_attachments: list[dict[str, any]]
@@ -129,7 +129,7 @@ def from_dict(cls, mail: 'OneSecMail', msg: dict[str, any]) -> 'OneSecMail.Messa
129129
subject=msg['subject'],
130130
date_str=msg['date'],
131131
body=msg['textBody'],
132-
test_body=msg['textBody'],
132+
text_body=msg['textBody'],
133133
html_body=msg['htmlBody'],
134134
)
135135

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.