Added Read/Unread filter in notification API.
This commit is contained in:
@@ -56,7 +56,7 @@ public class NotificationServiceImpl implements NotificationService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<NotificationResponse> getNotificationsByCompanyIdAndUserId(Long userId, Long companyId) {
|
||||
return notificationDao.getNotificationByCompanyIdAndUserId(userId, companyId);
|
||||
public List<NotificationResponse> getNotificationsByCompanyIdAndUserId(Long userId, Long companyId, List<NotificationEnum> statuses) {
|
||||
return notificationDao.getNotificationByCompanyIdAndUserId(userId, companyId, statuses);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user