Fixed notification issue in updating application status.
This commit is contained in:
@@ -177,7 +177,7 @@ public class NotificationDao {
|
|||||||
ApplicationEntity application = applicationService.validateApplication(applicationEvaluationEntity.getApplicationId());
|
ApplicationEntity application = applicationService.validateApplication(applicationEvaluationEntity.getApplicationId());
|
||||||
if (instructorId != null) {
|
if (instructorId != null) {
|
||||||
NotificationReq notificationreq = createNotificationReq(notificationTypeEnum.getValue(), placeHolders, instructorId, application.getUserWithCompany(),
|
NotificationReq notificationreq = createNotificationReq(notificationTypeEnum.getValue(), placeHolders, instructorId, application.getUserWithCompany(),
|
||||||
listOf(application.getCompanyId()));
|
null);
|
||||||
sendNotification(notificationreq);
|
sendNotification(notificationreq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -187,7 +187,7 @@ public class NotificationDao {
|
|||||||
UserEntity userEntity1 = user.get(0);
|
UserEntity userEntity1 = user.get(0);
|
||||||
if (userEntity1 != null) {
|
if (userEntity1 != null) {
|
||||||
NotificationReq notificationreq = createNotificationReq(notificationTypeEnum.getValue(), placeHolders, userEntity1.getId(), application.getUserWithCompany(),
|
NotificationReq notificationreq = createNotificationReq(notificationTypeEnum.getValue(), placeHolders, userEntity1.getId(), application.getUserWithCompany(),
|
||||||
listOf(application.getCompanyId()));
|
null);
|
||||||
sendNotification(notificationreq);
|
sendNotification(notificationreq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user