mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-24 16:55:09 +08:00
Fix extracting tables for protocol parser
This commit is contained in:
parent
5265312125
commit
afe0ed1f40
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ module Protocols
|
|||
def create_step_table_element!(step, step_element_json)
|
||||
table = Table.create!(
|
||||
name: step_element_json['name'].presence || 'New table',
|
||||
contents: step_element_json['contents'],
|
||||
contents: step_element_json['contents'].to_json,
|
||||
created_by: @user,
|
||||
last_modified_by: @user,
|
||||
team: @team
|
||||
|
|
Loading…
Reference in a new issue