Commit b9209f6715132d062b91a010ec658d2541eab599

Authored by lpedro
1 parent ac1b7caac3
Exists in master and in 1 other branch API_v3.0

C4441

src/main/java/org/um/dsi/gavea/orcid/client/OrcidOAuthClient.java
... ... @@ -200,10 +200,10 @@ public class OrcidOAuthClient extends BaseOrcidOAuthClient {
200 200 }
201 201  
202 202 /* Activities - Fundings */
203   - public Fundings readFundingSummary(final OrcidAccessToken token) throws OrcidClientException {
  203 + public Fundings readFundingsSummary(final OrcidAccessToken token) throws OrcidClientException {
204 204 Response response = null;
205 205 try {
206   - response = get(OrcidConstants.ENDPOINT_FUNDING, token, null);
  206 + response = get(OrcidConstants.ENDPOINT_FUNDINGS, token, null);
207 207  
208 208 return response.readEntity(Fundings.class);
209 209 } finally {
... ...
src/main/java/org/um/dsi/gavea/orcid/client/constants/OrcidConstants.java
... ... @@ -11,6 +11,7 @@ public final class OrcidConstants {
11 11  
12 12 public final static String ENDPOINT_ACTIVITIES = "/activities";
13 13 public final static String ENDPOINT_WORKS = "/works";
  14 + public final static String ENDPOINT_FUNDINGS = "/fundings";
14 15 public final static String ENDPOINT_ADDRESS = "/address";
15 16 public final static String ENDPOINT_BIOGRAPHY = "/biography";
16 17 public final static String ENDPOINT_EDUCATION = "/education";
... ...