mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 20:59:05 +00:00
ai review partial fix
This commit is contained in:
@@ -204,6 +204,8 @@ class MeetingConsentController:
|
|||||||
meeting_consent.c.user_id == user_id,
|
meeting_consent.c.user_id == user_id,
|
||||||
)
|
)
|
||||||
result = await database.fetch_one(query)
|
result = await database.fetch_one(query)
|
||||||
|
if result is None:
|
||||||
|
return None
|
||||||
return MeetingConsent(**result) if result else None
|
return MeetingConsent(**result) if result else None
|
||||||
|
|
||||||
async def upsert(self, consent: MeetingConsent) -> MeetingConsent:
|
async def upsert(self, consent: MeetingConsent) -> MeetingConsent:
|
||||||
|
|||||||
Reference in New Issue
Block a user