From d46ec1b243b22334b0e7835b2b3e3bfe250de784 Mon Sep 17 00:00:00 2001 From: Leonardo Mendoza Fernadez Date: Fri, 2 Feb 2024 14:40:31 -0600 Subject: [PATCH] 8945-registration-suggest-affiliation-based-on-email-domain --- .../orcid/frontend/web/controllers/EmailDomainController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orcid-web/src/main/java/org/orcid/frontend/web/controllers/EmailDomainController.java b/orcid-web/src/main/java/org/orcid/frontend/web/controllers/EmailDomainController.java index b4626ba8551..e1ca2aabad4 100644 --- a/orcid-web/src/main/java/org/orcid/frontend/web/controllers/EmailDomainController.java +++ b/orcid-web/src/main/java/org/orcid/frontend/web/controllers/EmailDomainController.java @@ -44,6 +44,8 @@ public class EmailDomainController { } else { ObjectNode response = mapper.createObjectNode(); response.put("category", ede.getCategory().name()); + response.put("rorId", ede.getRorId()); + return response; } }