corretto, era il DB che avevo cancellato l'utente dove era salvata la chiave...
This commit is contained in:
@@ -27,7 +27,7 @@ class TestPaoController extends Controller
|
||||
{
|
||||
echo "getProductBySku:" . $sku;
|
||||
$product = Product::where('sku', $sku)->first();
|
||||
/*
|
||||
|
||||
// Estrai il prodotto utilizzando il codice SKU
|
||||
|
||||
if ($product) {
|
||||
@@ -36,8 +36,6 @@ class TestPaoController extends Controller
|
||||
} else {
|
||||
// Ritorna un errore se il prodotto non è trovato
|
||||
return response()->json(['error' => 'Product not found'], 404);
|
||||
}*/
|
||||
|
||||
response()->json(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user