forked from mirror/pixelfed
Update AccountTransformer
This commit is contained in:
parent
653b34ff37
commit
ac0ec74c3d
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue