Merge branch 'test' of https://gitea.verdnatura.es/verdnatura/salix into dev
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-07-22 08:39:47 +02:00
commit 6143992238
1 changed files with 1 additions and 1 deletions

View File

@ -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'