diff --git a/app/core/security.py b/app/core/security.py index 260f082..26d105d 100644 --- a/app/core/security.py +++ b/app/core/security.py @@ -5,7 +5,7 @@ from datetime import datetime, timedelta, timezone from typing import Any, Mapping import jwt -from passlib.context import CryptContext +from passlib.context import CryptContext # type: ignore from app.core.config import settings diff --git a/app/repositories/user_repo.py b/app/repositories/user_repo.py index 2b16699..e75558d 100644 --- a/app/repositories/user_repo.py +++ b/app/repositories/user_repo.py @@ -35,7 +35,7 @@ class UserRepository: user = User( email=data.email, hashed_password=hashed_password, - full_name=data.full_name, + name=data.name, is_active=data.is_active, ) self._session.add(user)