Skip to content

Commit

Permalink
fix: Return attempted resolution as false if resolver is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Palafox committed May 7, 2024
1 parent f57f9c6 commit 4680bfe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public PIDResolutionResult resolve(String apiTypeName, String value) {
if (disableIsbnResolution) {
// If it is a valid format, but the resolver is disabled,
// return just the valid format
return new PIDResolutionResult(false, true, true, null);
return new PIDResolutionResult(false, false, true, null);
} else if (cache.isHttp303(normUrl)) {
return new PIDResolutionResult(true, true, true, normUrl);
} else {
Expand Down

0 comments on commit 4680bfe

Please sign in to comment.