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
1 changed files with 1 additions and 2 deletions

View File

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