Update AccountTransformer, re-add header_bg field. Fixes #1933

This commit is contained in:
Daniel Supernault 2020-01-14 19:58:18 -07:00
parent 0307be567e
commit 121b258dbb
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

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