浏览代码

Update AP ProfileTransformer

Daniel Supernault 6 年之前
父节点
当前提交
ce1d6630d7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/Transformer/ActivityPub/ProfileTransformer.php

+ 3 - 0
app/Transformer/ActivityPub/ProfileTransformer.php

@@ -15,6 +15,9 @@ class ProfileTransformer extends Fractal\TransformerAbstract
             'https://w3id.org/security/v1',
             [
               'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers',
+              'PropertyValue'             => 'schema:PropertyValue',
+              'schema'                    => 'http://schema.org#',
+              'value'                     => 'schema:value'
             ],
           ],
           'id'                        => $profile->permalink(),