Removed validation from form

This commit is contained in:
rajesh
2024-09-03 18:47:52 +05:30
parent 5b2cfcd594
commit fea784c4dd

View File

@@ -92,9 +92,6 @@ public class FormDao {
}
public List<FormResponseBean> getFormsByCallId(Long callId){
List<FormEntity> formEntities=formRepository.findByCallId(callId);
if(formEntities.isEmpty()){
throw new ResourceNotFoundException(Status.NOT_FOUND, Translator.toLocale(GepafinConstant.FORM_NOT_FOUND_FOR_CALL_ID));
}
List<FormResponseBean> formResponseBeanList = formEntities.stream()
.map(req -> convertFormEntityToFormResponseBean(req))
.collect(Collectors.toList());