We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c8ec8c commit 2b21cbcCopy full SHA for 2b21cbc
app/controllers/api/v8/users_controller.rb
@@ -72,7 +72,7 @@ def show
72
if params[:show_user_fields]
73
user_field = {}
74
UserField.all.select { |f| f.visible_to?(current_user) }.each do |field|
75
- value_record = @user.field_value_record(field)
+ value_record = user.field_value_record(field)
76
value = value_record.ruby_value
77
user_field[field] = value
78
end
0 commit comments