diff --git a/app/Http/Controllers/TestPaoController.php b/app/Http/Controllers/TestPaoController.php index 7bad3f2f..0cd9cc6e 100644 --- a/app/Http/Controllers/TestPaoController.php +++ b/app/Http/Controllers/TestPaoController.php @@ -25,6 +25,8 @@ class TestPaoController extends Controller public function getProductBySku($sku) { + echo "getProductBySku:" . $sku; + /* // Estrai il prodotto utilizzando il codice SKU $product = Product::where('sku', $sku)->first(); @@ -34,6 +36,8 @@ class TestPaoController extends Controller } else { // Ritorna un errore se il prodotto non รจ trovato return response()->json(['error' => 'Product not found'], 404); - } + }*/ + + response()->json(true); } }