Skip to content

Commit 9055f36

Browse files
committed
server/utils/renderMjml: explicitly return undefined
1 parent b7c0ea3 commit 9055f36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/utils/renderMjml.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ export function renderMjml(template: string): string | undefined {
99
} catch (e) {
1010
console.error(e);
1111
// fall through to undefined (null is not valid for nodemailer.SendMailOptions.html)
12+
return undefined;
1213
}
1314
}

0 commit comments

Comments
 (0)