Skip to content

Commit

Permalink
Save status even if result is null.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinebhs committed Sep 21, 2023
1 parent be94cd7 commit fd66f5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd66f5d

Please sign in to comment.