Walter Mantovani commited on
Commit ·
886c786
1
Parent(s): 341ebca
fix
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def get_dati_prenotazioni():
|
|
| 79 |
print(prenot_user_ord)
|
| 80 |
|
| 81 |
prenotazioni_data = []
|
| 82 |
-
for prenot in
|
| 83 |
prenotazioni_data.append(prenot.to_dict())
|
| 84 |
|
| 85 |
return jsonify(prenotazioni_data)
|
|
|
|
| 79 |
print(prenot_user_ord)
|
| 80 |
|
| 81 |
prenotazioni_data = []
|
| 82 |
+
for prenot in prenot_user_ord:
|
| 83 |
prenotazioni_data.append(prenot.to_dict())
|
| 84 |
|
| 85 |
return jsonify(prenotazioni_data)
|