1
0
Fork 0
forked from mirror/pixelfed

Update WebfingerService

This commit is contained in:
Daniel Supernault 2020-02-06 17:11:59 -07:00
parent c47fbe2d66
commit eaece0ac1a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -34,7 +34,7 @@ class WebfingerService
$fractal = new Fractal\Manager(); $fractal = new Fractal\Manager();
$fractal->setSerializer(new ArraySerializer()); $fractal->setSerializer(new ArraySerializer());
$resource = new Fractal\Resource\Item($profile, new AccountTransformer()); $resource = new Fractal\Resource\Item($profile, new AccountTransformer());
$res = $fractal->createData($resource)->toArray(); $res = $fractal->createData($resource)->toArray();
return $res; return $res;
} }
} }