fix: update user creation to use 'name' instead of 'full_name'

This commit is contained in:
Artem Kashaev 2025-11-27 11:07:19 +05:00
parent fab76ea6ee
commit ad6283680b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ from datetime import datetime, timedelta, timezone
from typing import Any, Mapping from typing import Any, Mapping
import jwt import jwt
from passlib.context import CryptContext from passlib.context import CryptContext # type: ignore
from app.core.config import settings from app.core.config import settings

View File

@ -35,7 +35,7 @@ class UserRepository:
user = User( user = User(
email=data.email, email=data.email,
hashed_password=hashed_password, hashed_password=hashed_password,
full_name=data.full_name, name=data.name,
is_active=data.is_active, is_active=data.is_active,
) )
self._session.add(user) self._session.add(user)