From 12f4ef0850e0c0f5c5771316e5ab1de649d3c726 Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 30 Sep 2022 13:55:41 +0200 Subject: [PATCH] fix(print): log sent mails --- print/core/smtp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/print/core/smtp.js b/print/core/smtp.js index 50a413673..a55ba448d 100644 --- a/print/core/smtp.js +++ b/print/core/smtp.js @@ -29,7 +29,7 @@ module.exports = { for (let attachment of options.attachments) { const fileName = attachment.filename; const filePath = attachment.path; - if (fileName.includes('.png')) return; + if (fileName.includes('.png')) continue; if (fileName || filePath) attachments.push(filePath ? filePath : fileName);