Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Sep 26, 2023
1 parent ac45e1b commit a887205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/api/Files.java
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ public Response getFixityAlgorithm() {
public Response getFileDownloadCount(@Context ContainerRequestContext crc, @PathParam("id") String dataFileId) {
return response(req -> {
DataFile dataFile = execCommand(new GetDataFileCommand(req, findDataFileOrDie(dataFileId)));
return ok(guestbookResponseService.getCountGuestbookResponsesByDataFileId(dataFile.getId()).toString());
return ok(guestbookResponseService.getDownloadCountByDataFileId(dataFile.getId()).toString());
}, getRequestUser(crc));
}

Expand Down

0 comments on commit a887205

Please sign in to comment.