1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 09:17:03 +00:00

Update AccountTransformer

This commit is contained in:
Daniel Supernault 2020-04-11 21:12:12 -06:00
parent 5a75f1573e
commit f5e4e468a2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -33,7 +33,7 @@ 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->toJSON(),
'header_bg' => $profile->header_bg
];
}