🐛 Fix gpx export

This commit is contained in:
itskovacs 2025-08-07 18:44:26 +02:00
parent a2c76e1a42
commit 1217052d34

View File

@ -62,7 +62,7 @@ def export_data(session: SessionDep, current_user: Annotated[str, Depends(get_cu
for c in session.exec(select(Category).filter(Category.user == current_user)) for c in session.exec(select(Category).filter(Category.user == current_user))
], ],
"places": [ "places": [
PlaceRead.serialize(place) PlaceRead.serialize(place, exclude_gpx=False)
for place in session.exec(select(Place).filter(Place.user == current_user)) for place in session.exec(select(Place).filter(Place.user == current_user))
], ],
"images": {}, "images": {},