Skip to content

Commit

Permalink
Merge branch 'main' into 9362-tech-remove-the-dateutils-and-others-pl…
Browse files Browse the repository at this point in the history
…ease-identify-them-on-the-orcid-core-package-and-leave-the-one-on-orcid-utils
  • Loading branch information
amontenegro authored Aug 22, 2024
2 parents caa9ca2 + 9a64549 commit 24ed04b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ PublicRecord getRecord(String orcid) {
// Fill email domains
List<ProfileEmailDomainEntity> emailDomains = null;
if (Features.EMAIL_DOMAINS.isActive()) {
emailDomains = profileEmailDomainManagerReadOnly.getPublicEmailDomains(getCurrentUserOrcid());
emailDomains = profileEmailDomainManagerReadOnly.getPublicEmailDomains(orcid);
}

publicRecord.setEmails(org.orcid.pojo.ajaxForm.Emails.valueOf(filteredEmails, emailDomains));
Expand Down

0 comments on commit 24ed04b

Please sign in to comment.