forked from mirror/pixelfed
Update WebfingerService
This commit is contained in:
parent
c47fbe2d66
commit
eaece0ac1a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue