diff --git a/app/routers/events.py b/app/routers/events.py index 7c5f81e..7a8b4ab 100644 --- a/app/routers/events.py +++ b/app/routers/events.py @@ -160,13 +160,9 @@ async def update_events(authorize: Annotated[bool, Depends(permissions_checker.P ) - event = events.Event(name=eventSingle.name, place=eventSingle.place) + event = events.Event(name=eventSingle.name, place=eventSingle.place, zip_code=eventSingle.zip_code, city=eventSingle.city, country=eventSingle.country) event.start_date = eventSingle.start_date event.end_date = eventSingle.end_date - event.place = eventSingle.place - event.zip_code = eventSingle.zip_code - event.city = eventSingle.city - event.country = eventSingle.country event.organizers = eventSingle.organizers event.latitude = eventSingle.latitude event.longitude = eventSingle.longitude