diff --git a/src/main/java/org/gridsuite/sensitivityanalysis/server/repositories/SensitivityAnalysisResultRepository.java b/src/main/java/org/gridsuite/sensitivityanalysis/server/repositories/SensitivityAnalysisResultRepository.java index 00c917e2..bd90aa0d 100644 --- a/src/main/java/org/gridsuite/sensitivityanalysis/server/repositories/SensitivityAnalysisResultRepository.java +++ b/src/main/java/org/gridsuite/sensitivityanalysis/server/repositories/SensitivityAnalysisResultRepository.java @@ -116,8 +116,8 @@ public void insert(UUID resultUuid, SensitivityAnalysisResult result, String sta Objects.requireNonNull(resultUuid); if (result != null) { analysisResultRepository.save(toAnalysisResultEntity(resultUuid, result)); - globalStatusRepository.save(toStatusEntity(resultUuid, status)); } + globalStatusRepository.save(toStatusEntity(resultUuid, status)); } @Transactional