修复邮箱地址重复填写的问题

This commit is contained in:
charescape 2022-04-10 09:13:47 +08:00 committed by GitHub
parent 3d7af901fe
commit 573cdffd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ export class EmailAction implements Action {
) {
const mailTo = filter(action.to, action.args);
const mailInfo = mapValues(
pick(action, 'to', 'cc', 'bcc', 'subject', 'body'),
pick(action, 'cc', 'bcc', 'subject', 'body'),
val => filter(val, action.args)
);
const mailStr = qs.stringify(mailInfo);