Merge pull request 'fix put error' (#14) from feature/more-detail-place into master
Reviewed-on: #14
This commit is contained in:
commit
a39e4596c6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user