This commit is contained in:
Leandro Facchinetti 2020-03-19 11:14:03 -04:00
parent a2bd26b9f3
commit d718430afe
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ export const emailServer = new SMTPServer({
const { entry } = Entry({
title: email.subject,
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
});
for (const path of paths) {