Update ProfileTransformer.php

This commit is contained in:
Shlee 2020-02-13 17:56:24 +08:00 committed by GitHub
parent b629e4fd90
commit 06d60ac351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,10 +39,6 @@ class ProfileTransformer extends Fractal\TransformerAbstract
'owner' => $profile->permalink(), 'owner' => $profile->permalink(),
'publicKeyPem' => $profile->public_key, 'publicKeyPem' => $profile->public_key,
], ],
// remove shared inbox support until proper support
// 'endpoints' => [
// 'sharedInbox' => config('routes.api.sharedInbox'),
// ],
'icon' => [ 'icon' => [
'type' => 'Image', 'type' => 'Image',
'mediaType' => 'image/jpeg', 'mediaType' => 'image/jpeg',