mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 18:21:50 +08:00
fix hound
This commit is contained in:
parent
6155a458e7
commit
f656a1093d
1 changed files with 4 additions and 4 deletions
|
@ -90,11 +90,11 @@ module ProtocolsImporter
|
|||
end
|
||||
end
|
||||
|
||||
if step_json["tables"]
|
||||
step_json["tables"].values.each do |table_json|
|
||||
if step_json['tables']
|
||||
step_json['tables'].values.each do |table_json|
|
||||
table = Table.create!(
|
||||
name: table_json["name"],
|
||||
contents: Base64.decode64(table_json["contents"]),
|
||||
name: table_json['name'],
|
||||
contents: Base64.decode64(table_json['contents']),
|
||||
created_by: user,
|
||||
last_modified_by: user
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue