Update AccounTransformer

This commit is contained in:
Daniel Supernault 2019-09-20 23:56:00 -06:00
parent 2484ed1e6d
commit 4899ff3479
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -36,13 +36,13 @@ class AccountTransformer extends Fractal\TransformerAbstract
'header_static' => null, 'header_static' => null,
'header_bg' => $profile->header_bg, 'header_bg' => $profile->header_bg,
'moved' => null, 'moved' => null,
'fields' => [], 'fields' => null,
'bot' => null, 'bot' => null,
'website' => $profile->website, 'website' => $profile->website,
'software' => 'pixelfed', 'software' => 'pixelfed',
'is_admin' => (bool) $is_admin, 'is_admin' => (bool) $is_admin,
'last_status_at' => null, 'last_status_at' => null,
'emojis' => [], 'emojis' => null,
]; ];
} }