From 121b258dbb92235bc27b37fa33706f255f5545d3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 14 Jan 2020 19:58:18 -0700 Subject: [PATCH] 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 ]; }