diff --git a/app/Http/Controllers/CustomerController.php b/app/Http/Controllers/CustomerController.php index b48c4fb..3419eac 100644 --- a/app/Http/Controllers/CustomerController.php +++ b/app/Http/Controllers/CustomerController.php @@ -44,7 +44,7 @@ public function getAll(Request $request): Collection */ public function getOne(Request $request, $id): Model { - if ($request->input('lists')) { + if ($request->input('lists') != '') { return $this->customerRepository->findOneById($id); }