mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 04:53:17 +00:00
Update AP ProfileTransformer, add published attribute
This commit is contained in:
parent
1be21c76f3
commit
adfaa2b140
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ class ProfileTransformer extends Fractal\TransformerAbstract
|
|||
'url' => $profile->url(),
|
||||
'manuallyApprovesFollowers' => (bool) $profile->is_private,
|
||||
'indexable' => (bool) $profile->indexable,
|
||||
'published' => $profile->created_at->format('Y-m-d') . 'T00:00:00Z',
|
||||
'publicKey' => [
|
||||
'id' => $profile->permalink().'#main-key',
|
||||
'owner' => $profile->permalink(),
|
||||
|
|
Loading…
Reference in a new issue