mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 16:24:29 +00:00
Update AccountTransformer
This commit is contained in:
parent
d7455b8f95
commit
d2a90f11a0
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ class AccountTransformer extends Fractal\TransformerAbstract
|
||||||
'url' => $profile->url(),
|
'url' => $profile->url(),
|
||||||
'avatar' => $profile->avatarUrl(),
|
'avatar' => $profile->avatarUrl(),
|
||||||
'website' => $profile->website,
|
'website' => $profile->website,
|
||||||
|
'local' => (bool) $local,
|
||||||
'is_admin' => (bool) $is_admin,
|
'is_admin' => (bool) $is_admin,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue