Commit 6319c3dd80b80ffc942c16b4a5ad74458af0c349

Authored by Luís Pedro
1 parent c603ea7581
Exists in master

Renamed readFundingSummary method to readFundingsSummary. Changed endpoint in re…

…adFundingsSummary method
src/main/java/org/um/dsi/gavea/orcid/client/OrcidOAuthClient.java
... ... @@ -198,10 +198,10 @@ public class OrcidOAuthClient extends BaseOrcidOAuthClient {
198 198 }
199 199  
200 200 /* Activities - Fundings */
201   - public org.um.dsi.gavea.orcid.model.activities.Fundings readFundingSummary(final OrcidAccessToken token) throws OrcidClientException {
  201 + public org.um.dsi.gavea.orcid.model.activities.Fundings readFundingsSummary(final OrcidAccessToken token) throws OrcidClientException {
202 202 Response response = null;
203 203 try {
204   - response = get(OrcidConstants.ENDPOINT_FUNDING, token, null);
  204 + response = get(OrcidConstants.ENDPOINT_FUNDINGS, token, null);
205 205  
206 206 return response.readEntity(org.um.dsi.gavea.orcid.model.activities.Fundings.class);
207 207 } finally {
... ...