diff --git a/app/Http/Controllers/CustomersController.php b/app/Http/Controllers/CustomersController.php index 5f7e35a..07169dd 100644 --- a/app/Http/Controllers/CustomersController.php +++ b/app/Http/Controllers/CustomersController.php @@ -115,7 +115,7 @@ class CustomersController extends Controller if(sizeof($customers_info) > 0) return $customers_info; else - return "no-data"; + return response(["no-data"], 200); } /**