mirror of https://github.com/pixelfed/pixelfed.git
Update WebfingerService
This commit is contained in:
parent
c47fbe2d66
commit
eaece0ac1a
|
@ -34,7 +34,7 @@ class WebfingerService
|
|||
$fractal = new Fractal\Manager();
|
||||
$fractal->setSerializer(new ArraySerializer());
|
||||
$resource = new Fractal\Resource\Item($profile, new AccountTransformer());
|
||||
$res = $fractal->createData($resource)->toArray();
|
||||
$res = $fractal->createData($resource)->toArray();
|
||||
return $res;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue