Hotfix Show() findOrFail arguments
This commit is contained in:
parent
c37c37d6e5
commit
8772331868
@ -16,7 +16,7 @@ public function index()
|
||||
// GET /user/{id}
|
||||
public function show(string $id)
|
||||
{
|
||||
$user = User::query()->findOrFail('id', $id);
|
||||
$user = User::query()->findOrFail($id);
|
||||
|
||||
return response($user);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user