Merge branch 'main' of https://git.shevkunov.space/FascioSchool/FascioSchoolBot
This commit is contained in:
@@ -104,6 +104,7 @@ async def update_event(
|
||||
event.end_date = end_date
|
||||
await session.commit()
|
||||
return event
|
||||
<<<<<<< HEAD
|
||||
|
||||
|
||||
async def register_user_to_event(session: AsyncSession, user_id: int, event_id: int):
|
||||
@@ -133,3 +134,5 @@ async def unregister_user_to_event(session: AsyncSession, user_id: int, event_id
|
||||
).scalar_one()
|
||||
user_event.status = UserEventStatus.CANCELLED.value
|
||||
await session.commit()
|
||||
=======
|
||||
>>>>>>> 7e5939394de1e40064ccf364bcfabbbd117d5d32
|
||||
|
||||
Reference in New Issue
Block a user