corretto, era il DB che avevo cancellato l'utente dove era salvata la chiave...

This commit is contained in:
paoloar77
2024-06-15 18:29:22 +02:00
parent 1824f30a94
commit 34aa2b26ef
4 changed files with 53 additions and 12 deletions

View File

@@ -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);
}
}
}