Small change to pizza add success message

This commit is contained in:
2025-11-17 12:08:05 +01:00
parent c4475a1458
commit 306dd41e3b

View File

@@ -104,7 +104,7 @@ function addPizza(id, nome, prezzo){
fetch(apiUrl + "/api/pizze", requestOptions) fetch(apiUrl + "/api/pizze", requestOptions)
.then((response) => response.text()) .then((response) => response.text())
.then((result) => { .then((result) => {
alert("Pizza aggiunta con successo! Ricarica la lista per mostrarla in pagina."); alert("Pizza aggiunta con successo! Aggiorna la lista per mostrarla in pagina.");
window.close(); window.close();
}) })
.catch((error) => { .catch((error) => {