1
0
Fork 0

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