Skip to content

Commit

Permalink
changing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
fmendezh committed May 17, 2018
1 parent 588b40a commit 5b30c27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ public PagingResponse<DatasetOccurrenceDownloadUsage> listDatasetUsages(

@Override
public Map<Integer,Map<Integer,Long>> getMonthlyStats(@Nullable Date fromDate, @Nullable Date toDate, @Nullable Country country) {
return statsServiceCall(fromDate, toDate, country, "monthlyStats");
return statsServiceCall(fromDate, toDate, country, "stats");
}

@Override
public Map<Integer, Map<Integer, Long>> getDownloadRecordsHostedByCountry(@Nullable Date fromDate, @Nullable Date toDate, @Nullable Country country) {
return statsServiceCall(fromDate, toDate, country, "downloadedRecords");
return statsServiceCall(fromDate, toDate, country, "stats/downloadedRecords");
}

private Map<Integer,Map<Integer,Long>> statsServiceCall(@Nullable Date fromDate, @Nullable Date toDate, @Nullable Country country, String path) {
Expand Down

0 comments on commit 5b30c27

Please sign in to comment.