2020-05-14 11:27:36 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-06-12 15:03:43 -05:00
|
|
|
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
|
2020-05-20 13:31:50 -05:00
|
|
|
json.extract! user, :id, :created_at, :updated_at, :email
|
2020-05-14 11:27:36 -05:00
|
|
|
json.unconfirmed_email user.unconfirmed_email
|
|
|
|
json.confirmed user.confirmed?
|
|
|
|
|
2020-05-29 15:33:29 -05:00
|
|
|
json.partial! 'app_data/profile', profile: user.profile
|