bugfix: hashed_password to password_hash

This commit is contained in:
Mohamad 2025-05-08 19:12:00 +02:00
parent 6198a29768
commit ff25af26f5

View File

@ -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