Skip to content

Commit

Permalink
change email field position based on notification center changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ae2079 committed Jul 24, 2024
1 parent 2317f0e commit b862fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployments/mailService/mailService.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const sendReportEmail = async ({
},
};
const promises = givethDevMailList.split(",").map((recipient) => {
data.email = recipient;
data.segment.payload.email = recipient;
return sendNotification(data);
});
return (await Promise.all(promises)).map((response) => response.data);
Expand Down

0 comments on commit b862fe6

Please sign in to comment.