mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-09 14:46:47 +08:00
Merge pull request #8796 from artoscinote/ma_SCI_12259
Fix serialization when creating form field values [SCI-12259]
This commit is contained in:
commit
12b911fa55
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class FormFieldValuesController < ApplicationController
|
|||
log_form_field_value_create_activity
|
||||
form_field_value_annotation if @form_field_value.is_a?(FormTextFieldValue)
|
||||
|
||||
render json: @form_field_value, serializer: FormFieldValueSerializer, user: current_user
|
||||
render json: @form_field_value, serializer: FormFieldValueSerializer, scope: { user: current_user }
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Reference in a new issue