Skip to content

Commit

Permalink
[PAGOPA-1940] fix: resolved bug on wrong stamp conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-deri committed Jul 9, 2024
1 parent 41a235f commit c5817e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public interface RPTMapper {
TransferDTO toTransferDTO(CtDatiSingoloVersamentoRPT datiSingoloVersamentoRPT);

@Mapping(source = "tipoBollo", target = "type")
@Mapping(source = "hashDocumento", target = "documentHash")
@Mapping(target = "documentHash", expression = "java(java.util.Base64.getEncoder().encode(datiMarcaBolloDigitale.getHashDocumento()))")
@Mapping(source = "provinciaResidenza", target = "province")
DigitalStampDTO toDigitalStampDTO(CtDatiMarcaBolloDigitale datiMarcaBolloDigitale);
}

0 comments on commit c5817e4

Please sign in to comment.