Update AccountTransformer

pull/1708/head
Daniel Supernault 6 years ago
parent 653b34ff37
commit ac0ec74c3d
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save