Commit 40fb8a60 authored by Kristjan Kruus's avatar Kristjan Kruus

testing

parent d1ad4b63
......@@ -56,10 +56,8 @@ public class NotificationService {
new NewIssueDecisionEmailNotification(),
decisionEvent.getIssueId(),
decisionEvent.getComment());
if (notificationModel != null) {
notificationModel.setDecision(decisionEvent.getResolutionType());
emailNotificationSenderService.sendNotification(notificationModel);
}
notificationModel.setDecision(decisionEvent.getResolutionType());
emailNotificationSenderService.sendNotification(notificationModel);
}
private <T extends NewIssueCommentEmailNotification> T createIssueCommentNotification(T notificationModel,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment