diff --git a/app/schemas.py b/app/schemas.py index 9a3a9d3..fcd2c16 100644 --- a/app/schemas.py +++ b/app/schemas.py @@ -20,4 +20,5 @@ class User(UserBase): id: int class Config: - orm_mode = True + # orm_mode = True + from_attributes = True