Merge pull request #1935 from pixelfed/staging

Update AccountTransformer, re-add header_bg field. Fixes #1933
pull/1941/head
daniel 2020-01-14 20:44:35 -07:00 zatwierdzone przez GitHub
commit 2c4894d4dd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

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