Skip to content

Commit

Permalink
Add defender to sendModifiedNotifications
Browse files Browse the repository at this point in the history
  • Loading branch information
oddsson committed May 14, 2024
1 parent ee61ab5 commit 7145d31
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1281,6 +1281,17 @@ export class NotificationService {
)
}

if (theCase.defenderEmail) {
promises.push(
this.sendEmail(
subject,
html,
theCase.defenderName,
theCase.defenderEmail,
),
)
}

const recipients = await Promise.all(promises)

return this.recordNotification(
Expand Down

0 comments on commit 7145d31

Please sign in to comment.