mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update AccounTransformer
This commit is contained in:
parent
2484ed1e6d
commit
4899ff3479
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue