mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +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
|
||||
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