IO-1266 attach pdf copy of email.

This commit is contained in:
Patrick Fic
2021-07-20 10:34:03 -07:00
parent 54b483333f
commit 9a60149d75
16 changed files with 451 additions and 23 deletions

View File

@@ -48,7 +48,8 @@ exports.sendEmail = async (req, res) => {
...((req.body.attachments &&
req.body.attachments.map((a) => {
return {
path: a,
filename: a.filename,
path: a.path,
};
})) ||
[]),