Fix handling risposta JSON per PizzaExpress 0.3.6
This commit is contained in:
@@ -14,7 +14,7 @@ function listPizze(){
|
||||
let table = '<table><tr><th>ID</th><th>Nome</th><th>Prezzo</th><th>Note</th><th>Azioni</th></tr>';
|
||||
|
||||
// Aggiungiamo ogni pizza come riga della tabella
|
||||
pizze.pizze.forEach(pizza => {
|
||||
pizze.forEach(pizza => {
|
||||
table += `<tr>
|
||||
<td>${pizza.id}</td>
|
||||
<td>${pizza.nome}</td>
|
||||
|
||||
Reference in New Issue
Block a user