Skip to content

Commit ab39ffe

Browse files
committed
wip
1 parent 9251c36 commit ab39ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/ProfileController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class ProfileController extends RepositoryController
1313
public function __invoke(RestifyRequest $request)
1414
{
1515
if ($repository = $this->guessRepository($request)) {
16-
return $repository;
16+
return $repository->serializeForShow($request);
1717
}
1818

1919
$user = $request->user();

0 commit comments

Comments
 (0)