редактирование ящика
This commit is contained in:
@@ -27,5 +27,6 @@ class Toolbox(Base):
|
||||
async def save(self):
|
||||
return await CRUD.create(self, refresh=True)
|
||||
|
||||
@staticmethod
|
||||
async def edit(id: int, **kwargs):
|
||||
return await CRUD.update(Toolbox, id, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user