Skip to content

Commit

Permalink
dont make email prefix required field
Browse files Browse the repository at this point in the history
Co-authored-by: Andres Tito <[email protected]>
Signed-off-by: leec94 <[email protected]>
  • Loading branch information
leec94 and LaVibeX committed Jun 6, 2024
1 parent fc246b1 commit 11f944f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ private void sendNotification(final PublishContext ctx, Notification notificatio

String emailSubjectPrefix;
emailSubjectPrefix = publisherConfig.emailPrefix().orElse(" ");
if (emailSubjectPrefix == null) {
LOGGER.warn("Email prefix is not configured; Skipping notification (%s)".formatted(ctx));
return;
}

final String fromAddress = publisherConfig.fromAddress().orElse(null);
if (fromAddress == null) {
Expand Down

0 comments on commit 11f944f

Please sign in to comment.