Update AccountTransformer
This commit is contained in:
parent
d7455b8f95
commit
d2a90f11a0
|
@ -31,6 +31,7 @@ class AccountTransformer extends Fractal\TransformerAbstract
|
||||||
'url' => $profile->url(),
|
'url' => $profile->url(),
|
||||||
'avatar' => $profile->avatarUrl(),
|
'avatar' => $profile->avatarUrl(),
|
||||||
'website' => $profile->website,
|
'website' => $profile->website,
|
||||||
|
'local' => (bool) $local,
|
||||||
'is_admin' => (bool) $is_admin,
|
'is_admin' => (bool) $is_admin,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue