From 5b30c27aa4370509988998d5580261d9ab383967 Mon Sep 17 00:00:00 2001 From: fmendezh Date: Thu, 17 May 2018 16:48:34 +0200 Subject: [PATCH] changing paths --- .../gbif/registry/ws/client/OccurrenceDownloadWsClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry-ws-client/src/main/java/org/gbif/registry/ws/client/OccurrenceDownloadWsClient.java b/registry-ws-client/src/main/java/org/gbif/registry/ws/client/OccurrenceDownloadWsClient.java index 35f46b9820..4d80b6b2da 100644 --- a/registry-ws-client/src/main/java/org/gbif/registry/ws/client/OccurrenceDownloadWsClient.java +++ b/registry-ws-client/src/main/java/org/gbif/registry/ws/client/OccurrenceDownloadWsClient.java @@ -79,12 +79,12 @@ public PagingResponse listDatasetUsages( @Override public Map> 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> 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> statsServiceCall(@Nullable Date fromDate, @Nullable Date toDate, @Nullable Country country, String path) {