Update AccountTransformer

This commit is contained in:
Daniel Supernault 2019-09-23 19:39:41 -06:00
parent 653b34ff37
commit ac0ec74c3d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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