Feature: Agent Profile Update with avatar (#449)
* Feature: Agent Profile Update with avatar * Add Update Profile with name, avatar, email and password
This commit is contained in:
11
app/views/api/v1/profiles/update.json.jbuilder
Normal file
11
app/views/api/v1/profiles/update.json.jbuilder
Normal file
@@ -0,0 +1,11 @@
|
||||
json.id @user.id
|
||||
json.provider @user.provider
|
||||
json.uid @user.uid
|
||||
json.name @user.name
|
||||
json.nickname @user.nickname
|
||||
json.email @user.email
|
||||
json.account_id @user.account_id
|
||||
json.pubsub_token @user.pubsub_token
|
||||
json.role @user.role
|
||||
json.confirmed @user.confirmed?
|
||||
json.avatar_url @user.avatar_url
|
||||
Reference in New Issue
Block a user