mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 09:17:03 +00:00
Merge pull request #1935 from pixelfed/staging
Update AccountTransformer, re-add header_bg field. Fixes #1933
This commit is contained in:
commit
2c4894d4dd
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
### Fixed
|
||||
- Fixed Story Compose bug affecting postgres instances ([#1918](https://github.com/pixelfed/pixelfed/pull/1918))
|
||||
- Fixed header background bug on MomentUI profiles ([#1933](https://github.com/pixelfed/pixelfed/pull/1933))
|
||||
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -33,7 +33,8 @@ class AccountTransformer extends Fractal\TransformerAbstract
|
|||
'website' => $profile->website,
|
||||
'local' => (bool) $local,
|
||||
'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