mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-16 10:06:57 +08:00
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:
commit
b487894c9d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class ProtocolsImporterV2
|
||||||
|
|
||||||
# Try to rename record
|
# Try to rename record
|
||||||
rename_record(protocol, :name) if protocol.invalid?
|
rename_record(protocol, :name) if protocol.invalid?
|
||||||
|
protocol_json['name'] = protocol.name
|
||||||
# Okay, now save the protocol
|
# Okay, now save the protocol
|
||||||
protocol.save!
|
protocol.save!
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue