mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-13 04:36:00 +08:00
Don't export protocol asset version metadata [SCI-11237]
This commit is contained in:
parent
8912bb44b0
commit
bfeea3ca43
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ module ProtocolsExporterV2
|
|||
"<asset id=\"#{asset.id}\" guid=\"#{asset_guid}\" fileRef=\"#{asset_file_name}\">\n" \
|
||||
"<fileName>#{asset.file_name}</fileName>\n" \
|
||||
"<fileType>#{asset.content_type}</fileType>\n" \
|
||||
"<fileMetadata><!--[CDATA[ #{asset.file.metadata.to_json} ]]--></fileMetadata>\n" \
|
||||
"<fileMetadata><!--[CDATA[ #{asset.file.metadata.except('version', 'restored_from_version').to_json} ]]--></fileMetadata>\n" \
|
||||
"</asset>\n"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue