Skip to content

Commit

Permalink
Changed method to be used #2978
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosjepard authored and hmiguim committed Jan 22, 2024
1 parent ca3a912 commit 6e82688
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private static void processDescriptiveMetadata(ModelService model, String aipId,
Map<String, String> properties = new HashMap<>();
properties.put(RodaConstants.VERSION_ACTION, RodaConstants.VersionAction.UPDATE_FROM_SIP.toString());

model.updateDescriptiveMetadata(aipId, descriptiveMetadataId, payload, metadataType, metadataVersion,
model.updateDescriptiveMetadata(aipId, representationId, descriptiveMetadataId, payload, metadataType, metadataVersion,
properties, username);
} else {
throw e;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ private static void processDescriptiveMetadata(ModelService model, String aipId,
Map<String, String> properties = new HashMap<>();
properties.put(RodaConstants.VERSION_ACTION, RodaConstants.VersionAction.UPDATE_FROM_SIP.toString());

model.updateDescriptiveMetadata(aipId, descriptiveMetadataId, payload, metadataType, metadataVersion,
model.updateDescriptiveMetadata(aipId, representationId, descriptiveMetadataId, payload, metadataType, metadataVersion,
properties, username);
} else {
throw e;
Expand Down

0 comments on commit 6e82688

Please sign in to comment.