This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metrics): use correct format for email service notifications
The email service made a conscious break with the SQS notification structure, to make the recipients array more uniform. Rather than sometimes being an object with an `emailAddress` property and other times being a string, it makes the items plain strings on all notification types. When I added code for the new notification queue to this repo, I forgot about that and just ported the SQS logic verbatim. This fixes it to always expect plain strings in the recipient arrays.
- Loading branch information
Showing
2 changed files
with
8 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters