1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update AccountTransformer

This commit is contained in:
Daniel Supernault 2019-10-29 18:13:44 -06:00
parent d7455b8f95
commit d2a90f11a0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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,
]; ];
} }