Skip to content

Commit

Permalink
reverting to allow nil for format
Browse files Browse the repository at this point in the history
  • Loading branch information
ekemeyer authored Jan 7, 2025
1 parent 2f8e5c7 commit b44a37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/aapb/batch_ingest/pbcore_xml_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def person_attributes(person, role)

def physical_instantiation_resource_attributes
@physical_instantiation_resource_attributes ||= instantiation_attributes.tap do |attrs|
attrs[:format] = pbcore.physical.value if pbcore.physical.value.present?
attrs[:format] = pbcore.physical.value || nil
end
end

Expand Down

0 comments on commit b44a37f

Please sign in to comment.