diff --git a/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/LDNMessageRestRepository.java b/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/LDNMessageRestRepository.java index d8c8cfaf1516..2151de0a2c3f 100644 --- a/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/LDNMessageRestRepository.java +++ b/dspace-server-webapp/src/main/java/org/dspace/app/rest/repository/LDNMessageRestRepository.java @@ -30,7 +30,7 @@ * @author Stefano Maffei(stefano.maffei at 4science.com) */ -@Component(LDNMessageEntityRest.CATEGORY + "." + LDNMessageEntityRest.NAME) +@Component(LDNMessageEntityRest.CATEGORY + "." + LDNMessageEntityRest.NAME_PLURALS) public class LDNMessageRestRepository extends DSpaceRestRepository { @Autowired