Skip to content

Commit

Permalink
Customer list fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoumpierre committed Mar 26, 2018
1 parent b357931 commit 6f16817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CustomerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 6f16817

Please sign in to comment.