Removed validation for published call to restrict updates on the call

This commit is contained in:
harish
2024-11-14 22:00:21 +05:30
parent 0f3b5208dc
commit b590ad0a0e
4 changed files with 4 additions and 11 deletions

View File

@@ -173,7 +173,7 @@ public class FormDao {
String choosenField=null;
FormEntity formEntity = validateForm(formId);
validator.validateUserWithCall(user, formEntity.getCall().getId());
callDao.validateUpdate(formEntity.getCall());
// callDao.validateUpdate(formEntity.getCall());
List<ContentRequestBean> contentRequestBean = Utils.convertJsonStringToList(formEntity.getContent(), ContentRequestBean.class);
for (ContentRequestBean contentRequestBean1 : contentRequestBean) {
FlowDataEntity flowDataEntity = flowDataRepository.findByFormIdAndChoosenField(formEntity.getId(), contentRequestBean1.getId());