mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 01:35:34 +08:00
fix protocol import error [SCI-7389]
This commit is contained in:
parent
6e2224990b
commit
22c682c58b
1 changed files with 1 additions and 1 deletions
|
@ -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!
|
||||
|
||||
|
|
Loading…
Reference in a new issue