Skip to content

Commit

Permalink
Fixed issue with working copy not being returned from getRecordAS api (
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwallen authored Jul 19, 2024
1 parent 111a1d7 commit 564771f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ private Object getRecordAs(
throws Exception {
AbstractMetadata metadata;
try {
metadata = ApiUtils.canViewRecord(metadataUuid, request);
metadata = ApiUtils.canViewRecord(metadataUuid, approved, request);
} catch (ResourceNotFoundException e) {
Log.debug(API.LOG_MODULE_NAME, e.getMessage(), e);
throw e;
Expand Down

0 comments on commit 564771f

Please sign in to comment.