We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9251c36 commit ab39ffeCopy full SHA for ab39ffe
src/Http/Controllers/ProfileController.php
@@ -13,7 +13,7 @@ class ProfileController extends RepositoryController
13
public function __invoke(RestifyRequest $request)
14
{
15
if ($repository = $this->guessRepository($request)) {
16
- return $repository;
+ return $repository->serializeForShow($request);
17
}
18
19
$user = $request->user();
0 commit comments