diff --git a/app/routers/events.py b/app/routers/events.py index 3bec5aa..18e9fc5 100644 --- a/app/routers/events.py +++ b/app/routers/events.py @@ -202,6 +202,7 @@ async def update_events(authorize: Annotated[bool, Depends(permissions_checker.P event.longitude = eventSingle.longitude event.imgUrl = eventSingle.imgUrl event.tags = eventSingle.tags + event.status = 1 event.created_at = datetime.today() event_repository.save(event) content = {"message": "event is created"}