bugfix: hashed_password to password_hash
This commit is contained in:
parent
6198a29768
commit
ff25af26f5
@ -19,7 +19,7 @@ class UserCreate(UserBase):
|
||||
# Properties stored in DB
|
||||
class UserInDBBase(UserBase):
|
||||
id: int
|
||||
hashed_password: str
|
||||
password_hash: str
|
||||
created_at: datetime
|
||||
model_config = ConfigDict(from_attributes=True) # Use orm_mode in Pydantic v1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user