Updated code

This commit is contained in:
harish
2024-10-31 15:00:31 +05:30
parent 5af78bc643
commit 838905cbc2

View File

@@ -510,7 +510,7 @@ public class ApplicationAmendmentRequestDao {
String email = beneficiaryUser.getEmail();
if (Boolean.TRUE.equals(amendment.getIsEmail())&&email != null && !email.isEmpty()) {
emailNotificationDao.sendMail(hub.getId(), subject, body, List.of(email));
// mailUtil.sendByMailGun(subject,body,List.of("harish.bagora1@gmail.com"),null);
// mailUtil.sendByMailGun(subject,body,List.of(email),null);
} else {
throw new CustomValidationException(Status.BAD_REQUEST, Translator.toLocale(GepafinConstant.BENEFICIARY_EMAIL_NOT_FOUND_MSG));
}