Skip to content

Commit

Permalink
Missing changes from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-tosca committed Apr 5, 2024
1 parent 510b793 commit 0b9333e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -59,7 +59,6 @@
import java.util.logging.Logger;

import static org.apache.commons.lang3.StringUtils.isNumeric;
import static org.apache.commons.lang3.StringUtils.reverse;

/**
* Base class for API beans
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/api/Datasets.java
Expand Up @@ -2743,7 +2743,7 @@ private DatasetVersion getDatasetVersionOrDie(final DataverseRequest req, String
boolean bypassAccessCheck)
throws WrappedResponse {

DatasetVersion dsv = findDatasetVersionOrDie(req, versionNumber, ds, includeDeaccessioned, checkPermsWhenDeaccessioned, bypassAccessCheck);
DatasetVersion dsv = findDatasetVersionOrDie(req, versionNumber, ds, includeDeaccessioned, checkPermsWhenDeaccessioned);

if (dsv == null || dsv.getId() == null) {
throw new WrappedResponse(
Expand Down

0 comments on commit 0b9333e

Please sign in to comment.