Moznost nahravat fotky copilotem
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user