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

@@ -72,7 +72,7 @@ public class FlowDao {
}
public void checkIfFlowExits(CallEntity call) {
callDao.validateUpdate(call);
// callDao.validateUpdate(call);
List<FlowDataEntity> flowDataEntities = flowDataRepository.findByCallId(call.getId());
List<FlowEdgesEntity> flowEdgesEntities = flowEdgesRepository.findByCallId(call.getId());
if (Boolean.FALSE.equals(flowDataEntities.isEmpty()) || Boolean.FALSE.equals(flowEdgesEntities.isEmpty())) {