Merge pull request 'feature/more-detail-place' (#13) from feature/more-detail-place into master
Reviewed-on: #13
This commit is contained in:
commit
af7df69731
@ -35,7 +35,7 @@ async def read_events(authorize: Annotated[bool, Depends(permissions_checker.Per
|
|||||||
|
|
||||||
|
|
||||||
for event_index in event_repository.find_by(object_search, limit=limit, skip=skip):
|
for event_index in event_repository.find_by(object_search, limit=limit, skip=skip):
|
||||||
event = events.EventOut(id=event_index.id, name=event_index.name, place=event_index.place, status=event_index.status, start_date=event_index.start_date, end_date=event_index.end_date)
|
event = events.EventOut(id=event_index.id, name=event_index.name, place=event_index.place, zip_code=event_index.zip_code, city=event_index.city, country=event_index.country, status=event_index.status, start_date=event_index.start_date, end_date=event_index.end_date)
|
||||||
listEvents.append(event)
|
listEvents.append(event)
|
||||||
return listEvents
|
return listEvents
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user