mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update AccountTransformer, add last_fetched_at attribute
This commit is contained in:
parent
fcab5010d6
commit
38b0233e96
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ class AccountTransformer extends Fractal\TransformerAbstract
|
|||
'local' => (bool) $local,
|
||||
'is_admin' => (bool) $is_admin,
|
||||
'created_at' => $profile->created_at->toJSON(),
|
||||
'header_bg' => $profile->header_bg
|
||||
'header_bg' => $profile->header_bg,
|
||||
'last_fetched_at' => optional($profile->last_fetched_at)->toJSON()
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue