Moznost nahravat fotky copilotem

This commit is contained in:
Michal Kváček
2024-03-07 06:45:00 +01:00
parent c0ae73440d
commit 400ad8b75a
15 changed files with 242 additions and 44 deletions
@@ -120,7 +120,7 @@ class BaseMutationResolver(BaseResolver):
item = await self._get_one(db, id, user_id)
return await self._do_update(db, item, data.to_dict())
async def delete(self, user_id: int, id: int) -> GQL_TYPE:
async def delete(self, user_id: int, id: int, **kwargs) -> GQL_TYPE:
async with get_session() as db:
model = await self._get_one(db, id, user_id)