From ff25af26f5bc52185c5f232aea6e6688fbf285fc Mon Sep 17 00:00:00 2001 From: Mohamad Date: Thu, 8 May 2025 19:12:00 +0200 Subject: [PATCH] bugfix: hashed_password to password_hash --- be/app/schemas/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/app/schemas/user.py b/be/app/schemas/user.py index 4bf247a..be22574 100644 --- a/be/app/schemas/user.py +++ b/be/app/schemas/user.py @@ -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