From c9cda92fbf258336e1fc6bdb8f152fa6a509872b Mon Sep 17 00:00:00 2001 From: joan Date: Mon, 20 Sep 2021 14:32:15 +0200 Subject: [PATCH] refactor(smtp): replaced field "sender" with "receiver" --- 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 c42a080f55..5fb5c4a2ce 100644 --- a/print/core/smtp.js +++ b/print/core/smtp.js @@ -25,7 +25,7 @@ module.exports = { throw err; }).finally(async() => { await db.rawSql(` - INSERT INTO vn.mail (sender, replyTo, sent, subject, body, status) + INSERT INTO vn.mail (receiver, replyTo, sent, subject, body, status) VALUES (?, ?, 1, ?, ?, ?)`, [ options.to, options.replyTo,