fix put error #14
@ -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.start_date = eventSingle.start_date
|
||||||
event.end_date = eventSingle.end_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.organizers = eventSingle.organizers
|
||||||
event.latitude = eventSingle.latitude
|
event.latitude = eventSingle.latitude
|
||||||
event.longitude = eventSingle.longitude
|
event.longitude = eventSingle.longitude
|
||||||
|
Loading…
x
Reference in New Issue
Block a user