Skip to content

Commit

Permalink
Fixed bulk-email service loop
Browse files Browse the repository at this point in the history
no-issue
  • Loading branch information
allouis committed Nov 4, 2019
1 parent 2ac2975 commit 39688ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/services/bulk-email/index.js
Expand Up @@ -22,7 +22,7 @@ module.exports = {
* @returns {Promise<boolean>} A promise representing the success of the email sending
*/
async send(message, recipients) {
for (const recipient in recipients) {
for (const recipient of recipients) {
const messageToSend = Object.assign({}, message, {
to: recipient
});
Expand Down

0 comments on commit 39688ce

Please sign in to comment.