diff --git a/backend/trip/models/models.py b/backend/trip/models/models.py index 6bb9259..ec8d39c 100644 --- a/backend/trip/models/models.py +++ b/backend/trip/models/models.py @@ -221,11 +221,13 @@ class PlaceRead(PlaceBase): category: CategoryRead image: str | None image_id: int | None + user: str @classmethod def serialize(cls, obj: Place, exclude_gpx=True) -> "PlaceRead": return cls( id=obj.id, + user=obj.user, name=obj.name, lat=obj.lat, lng=obj.lng, diff --git a/src/src/app/components/trip/trip.component.html b/src/src/app/components/trip/trip.component.html index 64c7284..d99a817 100644 --- a/src/src/app/components/trip/trip.component.html +++ b/src/src/app/components/trip/trip.component.html @@ -387,8 +387,8 @@