Skip to content

Commit

Permalink
#486 added more metrics to download usages
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-lg committed Jul 18, 2023
1 parent 5aa0f94 commit eca56b3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ public DataCiteMetadata buildMetadata(Download download, GbifUser user) {
PagingRequest pagingRequest = new PagingRequest(0, USAGES_PAGE_SIZE);

while (response == null || !response.isEmpty()) {
response = datasetOccurrenceDownloadMapper.listByDownload(download.getKey(), pagingRequest);
response =
datasetOccurrenceDownloadMapper.listByDownload(
download.getKey(), null, null, null, pagingRequest);
usages.addAll(response);
pagingRequest.nextPage();
}
Expand Down

0 comments on commit eca56b3

Please sign in to comment.