# frozen_string_literal: true

json.user_profile do
  json.call(@user, :username, :profile_image)
  json.bio @user.user_profile&.bio
  json.location @user.user_profile&.location
  json.instution @user.user_profile&.institution
end

# frozen_string_literal: true

json.user_profile do
  json.call(@user, :username, :profile_image)
  json.bio @user.user_profile&.bio
  json.location @user.user_profile&.location
  json.institution @user.user_profile&.institution
end

Fix typo in UserProfiles JSON
Fix typo in UserProfiles JSON
