1
0
Fork 0

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
1 changed files with 2 additions and 1 deletions

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