refactor(smtp): replaced field "sender" with "receiver"
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
8ab67f0ba5
commit
c9cda92fbf
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue