Merge pull request #4596 from aignatov-bio/ai-sci-7389-fix-protocol-import-error

fix protocol import error [SCI-7389]
This commit is contained in:
Alex Kriuchykhin 2022-11-22 10:56:10 +01:00 committed by GitHub
commit b487894c9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ class ProtocolsImporterV2
# Try to rename record
rename_record(protocol, :name) if protocol.invalid?
protocol_json['name'] = protocol.name
# Okay, now save the protocol
protocol.save!