This commit is contained in:
parent
a2bd26b9f3
commit
d718430afe
|
@ -59,6 +59,7 @@ export const emailServer = new SMTPServer({
|
||||||
const { entry } = Entry({
|
const { entry } = Entry({
|
||||||
title: email.subject,
|
title: email.subject,
|
||||||
author: email.from.text,
|
author: email.from.text,
|
||||||
|
// FIXME: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/43234 / typeof email.html !== "boolean" => email.html !== false
|
||||||
content: typeof email.html !== "boolean" ? email.html : email.textAsHtml
|
content: typeof email.html !== "boolean" ? email.html : email.textAsHtml
|
||||||
});
|
});
|
||||||
for (const path of paths) {
|
for (const path of paths) {
|
||||||
|
|
Loading…
Reference in New Issue