diff --git a/app/utilities/protocols_importer.rb b/app/utilities/protocols_importer.rb index 34bf3cd83..98acb38e3 100644 --- a/app/utilities/protocols_importer.rb +++ b/app/utilities/protocols_importer.rb @@ -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 )