Deleted Documents
This commit is contained in:
@@ -255,6 +255,7 @@ public class DelegationDao {
|
||||
throw new ResourceNotFoundException(Status.NOT_FOUND,
|
||||
Translator.toLocale(GepafinConstant.DELEGATION_NOT_FOUND));
|
||||
}
|
||||
amazonS3Service.deleteDelegationfromS3(userCompanyDelegationEntity);
|
||||
userCompanyDelegationEntity.setStatus(UserCompanyDelegationStatusEnum.INACTIVE.getValue());
|
||||
userCompanyDelegationRepository.save(userCompanyDelegationEntity);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user