From 50629804cbb8598d6e35895e2c3c6bca1f6d6480 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 22 Jul 2021 08:39:15 +0200 Subject: [PATCH] HOTFIX: Changed param order on insert email into queue --- 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 8c292fafe..c42a080f5 100644 --- a/print/core/smtp.js +++ b/print/core/smtp.js @@ -27,8 +27,8 @@ module.exports = { await db.rawSql(` INSERT INTO vn.mail (sender, replyTo, sent, subject, body, status) VALUES (?, ?, 1, ?, ?, ?)`, [ - options.replyTo, options.to, + options.replyTo, options.subject, options.text || options.html, error && error.message || 'Sent'