Hotfix Show() findOrFail arguments

This commit is contained in:
NoAvatar 2024-10-18 01:34:22 +10:00
parent c37c37d6e5
commit 8772331868

View File

@ -16,7 +16,7 @@ public function index()
// GET /user/{id} // GET /user/{id}
public function show(string $id) public function show(string $id)
{ {
$user = User::query()->findOrFail('id', $id); $user = User::query()->findOrFail($id);
return response($user); return response($user);
} }