From 121b258dbb92235bc27b37fa33706f255f5545d3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 14 Jan 2020 19:58:18 -0700 Subject: [PATCH 1/2] Update AccountTransformer, re-add header_bg field. Fixes #1933 --- app/Transformer/Api/AccountTransformer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Transformer/Api/AccountTransformer.php b/app/Transformer/Api/AccountTransformer.php index cdea53cb5..2c32e210d 100644 --- a/app/Transformer/Api/AccountTransformer.php +++ b/app/Transformer/Api/AccountTransformer.php @@ -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 ]; } From b0fd75f4c258e075eea086431bd340eb25ce440e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 14 Jan 2020 19:59:11 -0700 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 689fd756e..1304fcd21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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