From bc42a0d1f4ab3ec5fc21916b51a673ce9786ce83 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 13 Aug 2018 21:29:40 -0600 Subject: [PATCH] Update ProfileTransformer --- app/Transformer/ActivityPub/ProfileTransformer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Transformer/ActivityPub/ProfileTransformer.php b/app/Transformer/ActivityPub/ProfileTransformer.php index c3ee00638..a41313e42 100644 --- a/app/Transformer/ActivityPub/ProfileTransformer.php +++ b/app/Transformer/ActivityPub/ProfileTransformer.php @@ -16,7 +16,9 @@ class ProfileTransformer extends Fractal\TransformerAbstract 'https://w3id.org/security/v1', [ "manuallyApprovesFollowers" => "as:manuallyApprovesFollowers", - "featured" => 'https://pixelfed.org/ns/featured', + "featured" => [ + "https://pixelfed.org/ns#featured" => ["@type" => "@id"], + ] ] ], 'id' => $profile->permalink(),