update user serializer fix

This commit is contained in:
2023-02-28 13:25:26 +03:00
parent 353e68843b
commit 6ebfc7c7d3
2 changed files with 9 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ class User(Base):
except Exception:
await db.rollback()
raise
return await cls.get(id)
@classmethod
async def get(cls, id):