1
0
Fork 0

Update RelationshipTransformer

This commit is contained in:
Daniel Supernault 2019-04-07 20:35:56 -06:00
parent 26fbbf92ce
commit 6029cc79ab
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ class RelationshipTransformer extends Fractal\TransformerAbstract
'id' => (string) $profile->id, 'id' => (string) $profile->id,
'following' => $user->follows($profile), 'following' => $user->follows($profile),
'followed_by' => $user->followedBy($profile), 'followed_by' => $user->followedBy($profile),
'blocking' => null, 'blocking' => $user->blockedIds()->contains($profile->id),
'muting' => null, 'muting' => $user->mutedIds()->contains($profile->id),
'muting_notifications' => null, 'muting_notifications' => null,
'requested' => null, 'requested' => null,
'domain_blocking' => null, 'domain_blocking' => null,