Skip to content

Commit

Permalink
Split upsert
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitolo-Andrea committed Nov 13, 2024
1 parent 3ebb4b7 commit 83850f4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public Mono<TppDTO> updateExistingTpp(TppDTO tppDTO) {
existingTpp.setContact(tppDTO.getContact());
existingTpp.setBusinessName(tppDTO.getBusinessName());
existingTpp.setLegalAddress(tppDTO.getLegalAddress());

return tppRepository.save(existingTpp)
.map(mapperToDTO::map)
.doOnSuccess(savedTpp -> log.info("[TPP-SERVICE][UPSERT] Updated existing TPP with tppId: {}", existingTpp.getTppId()))
Expand Down

0 comments on commit 83850f4

Please sign in to comment.