We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9498198 commit ed4d286Copy full SHA for ed4d286
connect/notificationServices/email.js
@@ -24,7 +24,7 @@ function replacePlaceholders(term, data) {
24
let ret = term;
25
if (placeholders && placeholders.length) {
26
_(placeholders).each(p => {
27
- const values = _.map(data, p.slice(1, -1));
+ const values = _.uniq(_.map(data, p.slice(1, -1)));
28
// TODO remove this code if possible.
29
// This code appears to be not in use causing lint errors.
30
// For now I'm commenting it, in case it contains some valuable logic.
0 commit comments