Skip to content

Commit

Permalink
fix(notifications): email recipients should be a list of individual a…
Browse files Browse the repository at this point in the history
…ddresses (#136)
  • Loading branch information
asher authored Nov 2, 2018
1 parent d26883a commit 5cc721e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ class EchoNotifier(
echoService.create(
EchoService.Notification(
notificationType = Notifier.NotificationType.valueOf(messageType),
to = listOf(recipient),
cc = listOf(recipient),
to = recipient.split(","),
severity = Notifier.NotificationSeverity.HIGH,
source = EchoService.Notification.Source("swabbie"),
templateGroup = "swabbie",
Expand Down

0 comments on commit 5cc721e

Please sign in to comment.