Fix the alert recipient address for Spec11 (#2103)

During email migration, alerts should be sent to the address
annotated with `newAlertRecipientEmailAddress`.
This commit is contained in:
Weimin Yu 2023-08-10 15:38:13 -04:00 committed by GitHub
parent 9a1396b0c9
commit 167cdce775

View file

@ -66,7 +66,7 @@ public class Spec11EmailUtils {
@Inject
Spec11EmailUtils(
GmailClient gmailClient,
@Config("alertRecipientEmailAddress") InternetAddress alertRecipientAddress,
@Config("newAlertRecipientEmailAddress") InternetAddress alertRecipientAddress,
@Config("spec11OutgoingEmailAddress") InternetAddress spec11OutgoingEmailAddress,
@Config("spec11BccEmailAddresses") ImmutableList<InternetAddress> spec11BccEmailAddresses,
@Config("spec11WebResources") ImmutableList<String> spec11WebResources,