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