Skip to content

Commit

Permalink
Service: Fix bug where contributor email disappears
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinFutterer committed Apr 3, 2024
1 parent 5c1b85c commit 1d5d67b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public Contributor mapDOtoEntity(ContributorDO contributorDO, Contributor contri
contributor.id = contributorDO.getId();
contributor.setFirstName(contributorDO.getFirstName());
contributor.setLastName(contributorDO.getLastName());
contributor.setMbox(contributorDO.getMbox());
if (contributor.getMbox() == null || contributor.getMbox().isEmpty())
contributor.setMbox(contributorDO.getMbox());
contributor.setUniversityId(contributorDO.getUniversityId());
contributor.setAffiliation(contributorDO.getAffiliation());

Expand Down

0 comments on commit 1d5d67b

Please sign in to comment.