1
0
Fork 1
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:
daniel 2020-01-14 20:44:35 -07:00 committed by GitHub
commit 2c4894d4dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

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