Add picture node to user template
This commit is contained in:
parent
e7099b2d34
commit
b5ba7725d2
1 changed files with 8 additions and 2 deletions
|
|
@ -3,6 +3,12 @@ object :user
|
||||||
attributes :id,
|
attributes :id,
|
||||||
:username,
|
:username,
|
||||||
:granblue_id,
|
:granblue_id,
|
||||||
:picture,
|
|
||||||
:language,
|
:language,
|
||||||
:private
|
:private
|
||||||
|
|
||||||
|
node :picture do |u|
|
||||||
|
{
|
||||||
|
:picture => u.picture,
|
||||||
|
:element => u.element
|
||||||
|
}
|
||||||
|
end
|
||||||
Loading…
Reference in a new issue