Skip to content

Commit

Permalink
PN-10443: Removed "else" from events check in CancellazioneRicevutePe…
Browse files Browse the repository at this point in the history
…cService.
  • Loading branch information
michelescara committed Apr 8, 2024
1 parent 85780f7 commit ae54b66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public Mono<Void> cancellazioneRicevutePec(final CancellazioneRicevutePecDto can
.reduce(new MutablePair<String, String>(), (pair, digitalProgressStatusDto) -> {
if (digitalProgressStatusDto.getStatus().equals(ACCEPTED.getStatusTransactionTableCompliant()))
pair.setRight(digitalProgressStatusDto.getGeneratedMessage().getId());
else if (digitalLegal.getEventCode().getValue().equals(digitalProgressStatusDto.getStatusCode()))
if (digitalLegal.getEventCode().getValue().equals(digitalProgressStatusDto.getStatusCode()))
pair.setLeft(digitalProgressStatusDto.getGeneratedMessage().getId());
return pair;
});
Expand Down

0 comments on commit ae54b66

Please sign in to comment.