We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 625b3ca + ff756ee commit 7112c33Copy full SHA for 7112c33
1 file changed
orcid-persistence/src/main/java/org/orcid/persistence/dao/impl/ProfileDaoImpl.java
@@ -677,7 +677,7 @@ public boolean deactivate(String orcid) {
677
@SuppressWarnings("unchecked")
678
@Override
679
public List<OrcidGrantedAuthority> getGrantedAuthoritiesForProfile(String orcid) {
680
- Query query = entityManager.createQuery("from OrcidGrantedAuthority where profileEntity.id = :orcid");
+ Query query = entityManager.createQuery("from OrcidGrantedAuthority where orcid = :orcid");
681
query.setParameter("orcid", orcid);
682
return query.getResultList();
683
}
0 commit comments