Programfejl
This commit is contained in:
@@ -240,6 +240,7 @@ def pull(
|
||||
"""Hent server-data til lokal app."""
|
||||
|
||||
# Dans-niveauer
|
||||
levels = [
|
||||
{"id": l.id, "name": l.name, "sort_order": l.sort_order}
|
||||
for l in db.query(DanceLevel).order_by(DanceLevel.sort_order).all()
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user