fix protocol import error [SCI-7389]

This commit is contained in:
Anton 2022-11-04 11:49:05 +01:00
parent 6e2224990b
commit 22c682c58b

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!