Update AccountTransformer

pull/1809/head
Daniel Supernault 6 years ago
parent d7455b8f95
commit d2a90f11a0
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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…
Cancel
Save