Merge pull request #4006 from charescape/patch-3

fix: 修复EmailAction邮箱地址重复填写的问题
This commit is contained in:
RUNZE LU 2022-04-11 20:00:36 +08:00 committed by GitHub
commit d0f7f95541
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);