mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed bulk-email service loop
no-issue
This commit is contained in:
parent
2ac2975178
commit
39688cef07
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue