mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update AccountTransformer, re-add header_bg field. Fixes #1933
This commit is contained in:
parent
0307be567e
commit
121b258dbb
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ class AccountTransformer extends Fractal\TransformerAbstract
|
||||||
'website' => $profile->website,
|
'website' => $profile->website,
|
||||||
'local' => (bool) $local,
|
'local' => (bool) $local,
|
||||||
'is_admin' => (bool) $is_admin,
|
'is_admin' => (bool) $is_admin,
|
||||||
'created_at' => $profile->created_at->timestamp
|
'created_at' => $profile->created_at->timestamp,
|
||||||
|
'header_bg' => $profile->header_bg
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue